Deleting project workspace... doneCheckout:Parsing POMsExecuting Maven: -B -f /home/adminuser/.jenkins-slave/workspace/apps-THOR/pom.xml -DdevelopmentVersion=1.6.6-SNAPSHOT -DreleaseVersion=1.6.5 -Dresume=false release:prepare release:perform -Darguments=-DskipTests[INFO] Scanning for projects...[INFO] ------------------------------------------------------------------------[INFO] Reactor Build Order:[INFO][INFO] apps-thor[INFO] thor-models[INFO] thor-service-wrapper[INFO] thor-web[INFO][INFO] ------------------------------------------------------------------------[INFO] Building apps-thor 1.6.5-SNAPSHOT[INFO] ------------------------------------------------------------------------[INFO][INFO] --- maven-release-plugin:2.4.1:prepare (default-cli) @ apps-thor ---[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Reactor Build Order:[INFO] [INFO][INFO] [INFO] apps-thor[INFO] [INFO] thor-models[INFO] [INFO] thor-service-wrapper[INFO] [INFO] thor-web[INFO] [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Building apps-thor 1.6.5[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Building thor-models 1.6.5[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Building thor-service-wrapper 1.6.5[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Reactor Summary:[INFO] [INFO][INFO] [INFO] apps-thor ..................................... SUCCESS [1.772s][INFO] [INFO] thor-models ....................................... SUCCESS [7.621s][INFO] [INFO] thor-service-wrapper .............................. SUCCESS [2.794s][INFO] [INFO] thor-web .......................................... SUCCESS [1:57.294s][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] BUILD SUCCESS[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Total time: 2:10.135s[INFO] [INFO] Finished at: Tue Aug 06 11:17:35 MDT 2013[INFO] [INFO] Final Memory: 44M/265M[INFO] [INFO] ------------------------------------------------------------------------[INFO] Checking in modified POMs...[INFO] --- maven-release-plugin:2.4.1:perform (default-cli) @ apps-thor ---[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Reactor Build Order:[INFO] [INFO][INFO] [INFO] apps-thor[INFO] [INFO] thor-models[INFO] [INFO] thor-service-wrapper[INFO] [INFO] thor-web[INFO] [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Building apps-thor 1.6.5[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO][INFO] [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Building thor-models 1.6.5[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Building thor-service-wrapper 1.6.5[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO][INFO] [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Building thor-web 1.6.5[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Reactor Summary:[INFO] [INFO][INFO] [INFO] apps-thor ..................................... SUCCESS [6.141s][INFO] [INFO] thor-models ....................................... SUCCESS [17.717s][INFO] [INFO] thor-service-wrapper .............................. SUCCESS [9.472s][INFO] [INFO] thor-web .......................................... SUCCESS [2:20.936s][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] BUILD SUCCESS[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Total time: 2:55.036s[INFO] [INFO] Finished at: Tue Aug 06 11:21:00 MDT 2013[INFO] [INFO] Final Memory: 50M/248M[INFO] [INFO] ------------------------------------------------------------------------[INFO] Cleaning up after release...[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] apps-thor ..................................... SUCCESS [5:43.537s][INFO] thor-models ....................................... SKIPPED[INFO] thor-service-wrapper .............................. SKIPPED[INFO] thor-web .......................................... SKIPPED[INFO] ------------------------------------------------------------------------[INFO] BUILD SUCCESS[INFO] ------------------------------------------------------------------------[INFO] Total time: 5:45.582s[INFO] Finished at: Tue Aug 06 11:21:01 MDT 2013[INFO] Final Memory: 12M/172M[INFO] ------------------------------------------------------------------------[JENKINS] Archiving /home/adminuser/.jenkins-slave/workspace/apps-THOR/thor-web/pom.xml to /home/tomcat7/.jenkins/jobs/apps-THOR/modules/com.mycompany.apps$thor-web/builds/2013-08-06_11-15-05/archive/com.mycompany.apps/thor-web/1.6.5-SNAPSHOT/thor-web-1.6.5-SNAPSHOT.pom[JENKINS] Archiving /home/adminuser/.jenkins-slave/workspace/apps-THOR/pom.xml to /home/tomcat7/.jenkins/jobs/apps-THOR/modules/com.mycompany.apps$apps-thor/builds/2013-08-06_11-15-05/archive/com.mycompany.apps/apps-thor/1.6.5-SNAPSHOT/apps-thor-1.6.5-SNAPSHOT.pom[JENKINS] Archiving /home/adminuser/.jenkins-slave/workspace/apps-THOR/thor-models/pom.xml to /home/tomcat7/.jenkins/jobs/apps-THOR/modules/com.mycompany.apps$thor-models/builds/2013-08-06_11-15-06/archive/com.mycompany.apps/thor-models/1.6.5-SNAPSHOT/thor-models-1.6.5-SNAPSHOT.pom[JENKINS] Archiving /home/adminuser/.jenkins-slave/workspace/apps-THOR/thor-service-wrapper/pom.xml to /home/tomcat7/.jenkins/jobs/apps-THOR/modules/com.mycompany.apps$thor-service-wrapper/builds/2013-08-06_11-15-06/archive/com.mycompany.apps/thor-service-wrapper/1.6.5-SNAPSHOT/thor-service-wrapper-1.6.5-SNAPSHOT.pomWaiting for Jenkins to finish collecting datachannel stopped
[apps-THOR] $ /home/adminuser/.jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.4/bin/mvn -f /home/adminuser/.jenkins-slave/workspace/apps-THOR/pom.xml -DMVN_RELEASE_VERSION=1.6.5 -DMVN_DEV_VERSION=1.6.6-SNAPSHOT -DMVN_ISDRYRUN=false -e -B sonar:sonar "-Dsonar.profile=Sonar" -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://sonar-db.mycompany.com:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true ******** ******** -Dsonar.host.url=http://sonar.mycompany.com/[INFO] Error stacktraces are turned on.[INFO] Scanning for projects...[INFO] ------------------------------------------------------------------------[INFO] Reactor Build Order:[INFO][INFO] apps-thor[INFO] thor-models[INFO] thor-service-wrapper[INFO] thor-web[INFO][INFO] ------------------------------------------------------------------------[INFO] Building apps-thor 1.6.6-SNAPSHOT[INFO] ------------------------------------------------------------------------Downloading: http://archiva.mycompany.com/repository/mycompany/com/mycompany/apps/thor-models/1.6.6-SNAPSHOT/maven-metadata.xml[WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:[WARNING] o com.mycompany.apps:thor-models:jar:1.6.6-SNAPSHOT (compile)[WARNING] Try running the build up to the lifecycle phase "package"[WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:[WARNING] o com.mycompany.apps:thor-service-wrapper:jar:1.6.6-SNAPSHOT (compile)[WARNING] o com.mycompany.apps:thor-models:jar:1.6.6-SNAPSHOT (compile)[WARNING] Try running the build up to the lifecycle phase "package"[INFO][INFO] --- sonar-maven-plugin:2.0:sonar (default-cli) @ apps-thor ---[INFO] Sonar version: 3.5.1...[INFO] [11:21:36.714] Execute org.apache.maven.plugins:maven-surefire-plugin:2.10:test...[INFO][INFO] ------------------------------------------------------------------------[INFO] Building thor-web 1.6.6-SNAPSHOT[INFO] ------------------------------------------------------------------------[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 29.379s[INFO] Finished at: Tue Aug 06 11:21:37 MDT 2013[INFO] Final Memory: 29M/194M[INFO] ------------------------------------------------------------------------[INFO] [11:21:37.563] Execute org.apache.maven.plugins:maven-surefire-plugin:2.10:test done: 849 ms[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] apps-thor ..................................... FAILURE [28.109s][INFO] thor-models ....................................... SKIPPED[INFO] thor-service-wrapper .............................. SKIPPED[INFO] thor-web .......................................... FAILURE [0.457s][INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 29.809s[INFO] Finished at: Tue Aug 06 11:21:37 MDT 2013[INFO] Final Memory: 19M/194M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal on project thor-web: Could not resolve dependencies for project com.mycompany.apps:thor-web:war:1.6.6-SNAPSHOT: The following artifacts could not be resolved: com.mycompany.apps:thor-service-wrapper:jar:1.6.6-SNAPSHOT, com.mycompany.apps:thor-models:jar:1.6.6-SNAPSHOT: Failure to find com.mycompany.apps:thor-service-wrapper:jar:1.6.6-SNAPSHOT in http://archiva.mycompany.com/repository/mycompany/ was cached in the local repository, resolution will not be reattempted until the update interval of mycompany has elapsed or updates are forced -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project thor-web: Could not resolve dependencies for project com.mycompany.apps:thor-web:war:1.6.6-SNAPSHOT: The following artifacts could not be resolved: com.mycompany.apps:thor-service-wrapper:jar:1.6.6-SNAPSHOT, com.mycompany.apps:thor-models:jar:1.6.6-SNAPSHOT: Failure to find com.mycompany.apps:thor-service-wrapper:jar:1.6.6-SNAPSHOT in http://archiva.mycompany.com/repository/mycompany/ was cached in the local repository, resolution will not be reattempted until the update interval of mycompany has elapsed or updates are forced.....Sonar analysis completed: FAILUREBuild step 'Sonar' changed build result to FAILUREBuild step 'Sonar' marked build as failureSending e-mails:Notifying upstream projects of job completionFinished: FAILURE
Hi Jeff
(Disclaimer – IMHO Sonar is evil as it makes builds unreproducible as build config is stored outside of the build, it doesn’t build things it needs so can test/report not what users are expecting)
However the case below is the sonar plugin attempting to resolve the snapshot versions of your jars.
These have not yet been built (and won’t be built in your reactor) and so sonar is trying to resolve them from the repository (where they don’t exist – see my disclaimer above).
Full name:
org.codehaus.mojo:sonar-maven-plugin:2.1:sonar
Description:
Analyze project. SonarQube server must be started.
Attributes:
· Requires a Maven project to be executed.
· Executes as an aggregator plugin.
· Requires dependency resolution of artifacts in scope: test.
So this is a question you should ask on the Maven users list.
/James
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.