[Building Sakai] Fwd: SAK-21390 update (Maven 3-related pom changes break all Jenkins indie trunk jobs)

Anthony Whyte arwhyte at umich.edu
Tue Nov 22 04:33:54 PST 2011


Additional projects fixed:

Assignment2
Roster2
SakaiRSF
SakaiRSFComponents

Gradebook2 is not affected.

All Jenkins builds are back to normal, with the exception of roster2 which is sitting in the build queue.

Cheers,

Anth



Begin forwarded message:

> From: Anthony Whyte <arwhyte at umich.edu>
> Date: November 21, 2011 11:48:15 PM EST
> To: Developers Sakai-Dev <sakai-dev at collab.sakaiproject.org>
> Subject: [Building Sakai] SAK-21390 update (Maven 3-related pom changes break all Jenkins indie trunk jobs)
> 
> 30+ core project base poms have been fixed; nearly all failed Jenkins CLE indie jobs have returned to normal; a few are in the build cue now.
> 
> http://builds.sakaiproject.org:8080/
> 
> Still broken
> 	assignment2
> 	Gradebook2
> 	SakaiRSF
> 	SakaiRSFComponents
> 
> Anth
> 
> 
> 
> 
> Begin forwarded message:
> 
>> From: Anthony Whyte <arwhyte at umich.edu>
>> Date: November 21, 2011 1:21:35 PM EST
>> To: Developers Sakai-Dev <sakai-dev at collab.sakaiproject.org>
>> Subject: [Building Sakai] SAK-21390: Maven 3 related pom changes breaks all Jenkins trunk builds/snapshot deployments
>> 
>> SAK-21390 introduced a change to the Maven <distributionManagement> repository <url> of purepoms and a couple of other indies (e.g., common, profile2) in order to support scp as a transport protocol, a protocol that now requires the associated wagon to be declared explictly as a build extension (it can also be declared as a dependency of the maven-deploy-plugin) [1].  For more details see Apache's Maven 3 compatibility notes [2].
>> 
>> This change has broken all other indie trunk builds/snapshot deployments despite the fact that builds are being performed by Jenkins using Maven 2.2.1.  Broken builds disrupt the refreshing of trunk snapshots.
>> 
>> The fix is actually a straightforward one and involves slimming the <dependencyManagement> element of all trunk indies, eliminating the entries for sakai-maven-snapshots-scp and sakai-maven2-scp as both elements are overriding the parent purepom entries unnecessarily.  The <build> extension need not be added as it's also inherited from purepoms [4].
>> 
>> I've fixed site and will jam through the other indie poms in order to stop Jenkins filling the inbox of affected developers (including myself) with failure notices of the following type:
>> 
>> [INFO] Error retrieving previous build number for artifact 'org.sakaiproject.polls:polls:pom': repository metadata for: 'snapshot org.sakaiproject.polls:polls:1.5-SNAPSHOT' could not be retrieved from repository: sakai-maven-snapshots-scp due to an error: Unsupported Protocol: 'scp': Cannot find wagon which supports the requested protocol: scp.
>> 
>> Cheers,
>> 
>> Anth
>> 
>> 
>> [1] https://jira.sakaiproject.org/browse/SAK-21390
>> [2]  https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html
>> [3] http://builds.sakaiproject.org:8080/.
>> [4]https://jira.sakaiproject.org/browse/SAK-21443
>> 
>> SAK-21390 modifications:
>> 
>> <url>scp://source.sakaiproject.org/var/www/html/maven2-snapshots</url>
>> to
>> <url>scpexe://source.sakaiproject.org/var/www/html/maven2-snapshots</url>
>> 
>> and
>> 
>> <build>
>>     <extensions>
>>             <!-- Enabling the use of external ssh -->
>>             <extension>
>>                 <groupId>org.apache.maven.wagon</groupId>
>>                 <artifactId>wagon-ssh-external</artifactId>
>>                 <version>2.0</version>
>>             </extension>
>>     </extensions>
>> <build>
>> 
>> 
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> 
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111122/a6f6e7f7/attachment.html 


More information about the sakai-dev mailing list