mvn version:dependency-updates-report failed on build

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

mvn version:dependency-updates-report failed on build

Li, Jing

Hi there,

 

We have maven projects, it works when using mvn version:display-dependency-updates, but failed when we try to do “mvn version:dependency-updates-report”.  It will be highly appreciated if some one give us any suggestions on it.

 

Thanks in advance.

 

Jing

 

[INFO] --- versions-maven-plugin:2.0:dependency-updates-report (default-cli) @ common ---

mojoFailed org.codehaus.mojo:versions-maven-plugin:2.0(default-cli)

projectFailed com.roche.sequencing:common:1.0

sessionEnded

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Roche Sequencing Common ........................... FAILURE [29.324s]

[INFO] Roche Sequencing Sequencer ........................ SKIPPED

[INFO] Roche Sequencing Sequencer Web Service ............ SKIPPED

[INFO] Roche Sequencer Simulator ......................... SKIPPED

[INFO] Roche Sequencing Apps ............................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.493s

[INFO] Finished at: Wed Mar 20 00:02:20 EDT 2013

[INFO] Final Memory: 19M/168M

[INFO] ------------------------------------------------------------------------

Projects to build: [MavenProject: com.roche.sequencing:common:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/common/pom.xml, MavenProject: com.roche.sequencing:sequencer:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencer/pom.xml, MavenProject: com.roche.sequencing:sequencerWebService:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerWebService/pom.xml, MavenProject: com.roche.sequencing:sequencerSimulator:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerSimulator/pom.xml, MavenProject: com.roche.sequencing:sequencing:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/build/pom.xml]

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerWebService/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencerWebService/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencerWebService/1.0/sequencerWebService-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerSimulator/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencerSimulator/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencerSimulator/1.0/sequencerSimulator-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/common/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$common/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/common/1.0/common-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencer/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencer/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencer/1.0/sequencer-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/build/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencing/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencing/1.0/sequencing-1.0.pom

mavenExecutionResult exceptions not empty

message : Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report (default-cli) on project common: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

-----------------------------------------------------

realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0

strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

urls[0] = file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar

urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar

urls[3] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar

urls[4] = file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar

urls[5] = file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar

urls[6] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar

urls[7] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar

urls[8] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar

urls[9] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar

urls[10] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar

urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar

urls[12] = file:/var/lib/jenkins/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar

urls[13] = file:/var/lib/jenkins/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar

urls[14] = file:/var/lib/jenkins/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar

urls[15] = file:/var/lib/jenkins/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

urls[16] = file:/var/lib/jenkins/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar

urls[17] = file:/var/lib/jenkins/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar

urls[18] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar

urls[19] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar

urls[20] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-core/1.1/doxia-core-1.1.jar

urls[21] = file:/var/lib/jenkins/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar

urls[22] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar

urls[23] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1/doxia-site-renderer-1.1.jar

urls[24] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar

urls[25] = file:/var/lib/jenkins/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar

urls[26] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1/doxia-decoration-model-1.1.jar

urls[27] = file:/var/lib/jenkins/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar

urls[28] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1/doxia-module-xhtml-1.1.jar

urls[29] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1/doxia-module-fml-1.1.jar

urls[30] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar

urls[31] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar

urls[32] = file:/var/lib/jenkins/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar

urls[33] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar

urls[34] = file:/var/lib/jenkins/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar

urls[35] = file:/var/lib/jenkins/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar

urls[36] = file:/var/lib/jenkins/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar

Number of foreign imports: 1

import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

 

-----------------------------------------------------

 

cause : Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

-----------------------------------------------------

realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0

strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

urls[0] = file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar

urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar

urls[3] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar

urls[4] = file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar

urls[5] = file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar

urls[6] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar

urls[7] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar

urls[8] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar

urls[9] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar

urls[10] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar

urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar

urls[12] = file:/var/lib/jenkins/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar

urls[13] = file:/var/lib/jenkins/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar

urls[14] = file:/var/lib/jenkins/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar

urls[15] = file:/var/lib/jenkins/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

urls[16] = file:/var/lib/jenkins/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar

urls[17] = file:/var/lib/jenkins/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar

urls[18] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar

urls[19] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar

urls[20] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-core/1.1/doxia-core-1.1.jar

urls[21] = file:/var/lib/jenkins/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar

urls[22] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar

urls[23] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1/doxia-site-renderer-1.1.jar

urls[24] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar

urls[25] = file:/var/lib/jenkins/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar

urls[26] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1/doxia-decoration-model-1.1.jar

urls[27] = file:/var/lib/jenkins/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar

urls[28] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1/doxia-module-xhtml-1.1.jar

urls[29] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1/doxia-module-fml-1.1.jar

urls[30] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar

urls[31] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar

urls[32] = file:/var/lib/jenkins/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar

urls[33] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar

urls[34] = file:/var/lib/jenkins/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar

urls[35] = file:/var/lib/jenkins/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar

urls[36] = file:/var/lib/jenkins/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar

Number of foreign imports: 1

import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

 

-----------------------------------------------------

 

Stack trace :

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report (default-cli) on project common: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

-----------------------------------------------------

realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0

strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

urls[0] = file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar

urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar

urls[3] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar

urls[4] = file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar

urls[5] = file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar

urls[6] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar

urls[7] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar

urls[8] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar

urls[9] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar

urls[10] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar

urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar

urls[12] = file:/var/lib/jenkins/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar

urls[13] = file:/var/lib/jenkins/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar

urls[14] = file:/var/lib/jenkins/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar

urls[15] = file:/var/lib/jenkins/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

urls[16] = file:/var/lib/jenkins/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar

urls[17] = file:/var/lib/jenkins/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar

urls[18] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar

urls[19] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar

urls[20] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-core/1.1/doxia-core-1.1.jar

urls[21] = file:/var/lib/jenkins/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar

urls[22] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar

urls[23] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1/doxia-site-renderer-1.1.jar

urls[24] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar

urls[25] = file:/var/lib/jenkins/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar

urls[26] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1/doxia-decoration-model-1.1.jar

urls[27] = file:/var/lib/jenkins/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar

urls[28] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1/doxia-module-xhtml-1.1.jar

urls[29] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1/doxia-module-fml-1.1.jar

urls[30] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar

urls[31] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar

urls[32] = file:/var/lib/jenkins/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar

urls[33] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar

urls[34] = file:/var/lib/jenkins/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar

urls[35] = file:/var/lib/jenkins/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar

urls[36] = file:/var/lib/jenkins/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar

Number of foreign imports: 1

import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

 

-----------------------------------------------------

 

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

        at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)

        at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)

        at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)

        at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)

        at hudson.remoting.UserRequest.perform(UserRequest.java:118)

        at hudson.remoting.UserRequest.perform(UserRequest.java:48)

        at hudson.remoting.Request$2.run(Request.java:326)

        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

        at java.util.concurrent.FutureTask.run(FutureTask.java:166)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

        at java.lang.Thread.run(Thread.java:722)

Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

-----------------------------------------------------

realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0

strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

urls[0] = file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar

urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar

urls[3] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar

urls[4] = file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar

urls[5] = file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar

urls[6] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar

urls[7] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar

urls[8] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar

urls[9] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar

urls[10] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar

urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar

urls[12] = file:/var/lib/jenkins/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar

urls[13] = file:/var/lib/jenkins/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar

urls[14] = file:/var/lib/jenkins/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar

urls[15] = file:/var/lib/jenkins/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

urls[16] = file:/var/lib/jenkins/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar

urls[17] = file:/var/lib/jenkins/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar

urls[18] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar

urls[19] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar

urls[20] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-core/1.1/doxia-core-1.1.jar

urls[21] = file:/var/lib/jenkins/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar

urls[22] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar

urls[23] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1/doxia-site-renderer-1.1.jar

urls[24] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar

urls[25] = file:/var/lib/jenkins/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar

urls[26] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1/doxia-decoration-model-1.1.jar

urls[27] = file:/var/lib/jenkins/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar

urls[28] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1/doxia-module-xhtml-1.1.jar

urls[29] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1/doxia-module-fml-1.1.jar

urls[30] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar

urls[31] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar

urls[32] = file:/var/lib/jenkins/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar

urls[33] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar

urls[34] = file:/var/lib/jenkins/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar

urls[35] = file:/var/lib/jenkins/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar

urls[36] = file:/var/lib/jenkins/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar

Number of foreign imports: 1

import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

 

-----------------------------------------------------

 

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:127)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)

        ... 27 more

Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

-----------------------------------------------------

realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0

strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

urls[0] = file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar

urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar

urls[3] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar

urls[4] = file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar

urls[5] = file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar

urls[6] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar

urls[7] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar

urls[8] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar

urls[9] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar

urls[10] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar

urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar

urls[12] = file:/var/lib/jenkins/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar

urls[13] = file:/var/lib/jenkins/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar

urls[14] = file:/var/lib/jenkins/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar

urls[15] = file:/var/lib/jenkins/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

urls[16] = file:/var/lib/jenkins/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar

urls[17] = file:/var/lib/jenkins/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar

urls[18] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar

urls[19] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar

urls[20] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-core/1.1/doxia-core-1.1.jar

urls[21] = file:/var/lib/jenkins/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar

urls[22] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar

urls[23] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1/doxia-site-renderer-1.1.jar

urls[24] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar

urls[25] = file:/var/lib/jenkins/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar

urls[26] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1/doxia-decoration-model-1.1.jar

urls[27] = file:/var/lib/jenkins/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar

urls[28] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1/doxia-module-xhtml-1.1.jar

urls[29] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1/doxia-module-fml-1.1.jar

urls[30] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar

urls[31] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar

urls[32] = file:/var/lib/jenkins/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar

urls[33] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar

urls[34] = file:/var/lib/jenkins/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar

urls[35] = file:/var/lib/jenkins/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar

urls[36] = file:/var/lib/jenkins/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar

Number of foreign imports: 1

import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

 

-----------------------------------------------------

 

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)

        ... 28 more

Caused by: java.lang.NoClassDefFoundError: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

        at org.apache.maven.reporting.sink.SinkFactory.createSink(SinkFactory.java:56)

        at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:62)

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)

        ... 28 more

Caused by: java.lang.ClassNotFoundException: org.apache.maven.doxia.module.xhtml.decoration.render.RenderingContext

        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)

        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)

        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)

        ... 31 more

 

Reply | Threaded
Open this post in threaded view
|

Re: mvn version:dependency-updates-report failed on build

Stephen Connolly-2
In general the reporting mojo's only work when part of the site life cycle. Invoking directly from the command line is, AFAIR, not supported. I could be wrong, so maybe you should ask the general question at the maven list.

If direct cli invoking of reporting goals is supposed to work then that would indicate a bug in this plugin, otherwise it is poor documentation on the maven site (or in the highly unlikely event that it documented on the site then it might be PBKAC but I highly doubt that is the case)

So the likely outcome is that a JIRA needs to be raised, you just need to find out if that is against v-m-p or the maven documentation.

-Stephen

On Wednesday, 20 March 2013, Li, Jing wrote:

Hi there,

 

We have maven projects, it works when using mvn version:display-dependency-updates, but failed when we try to do “mvn version:dependency-updates-report”.  It will be highly appreciated if some one give us any suggestions on it.

 

Thanks in advance.

 

Jing

 

[INFO] --- versions-maven-plugin:2.0:dependency-updates-report (default-cli) @ common ---

mojoFailed org.codehaus.mojo:versions-maven-plugin:2.0(default-cli)

projectFailed com.roche.sequencing:common:1.0

sessionEnded

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Roche Sequencing Common ........................... FAILURE [29.324s]

[INFO] Roche Sequencing Sequencer ........................ SKIPPED

[INFO] Roche Sequencing Sequencer Web Service ............ SKIPPED

[INFO] Roche Sequencer Simulator ......................... SKIPPED

[INFO] Roche Sequencing Apps ............................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.493s

[INFO] Finished at: Wed Mar 20 00:02:20 EDT 2013

[INFO] Final Memory: 19M/168M

[INFO] ------------------------------------------------------------------------

Projects to build: [MavenProject: com.roche.sequencing:common:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/common/pom.xml, MavenProject: com.roche.sequencing:sequencer:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencer/pom.xml, MavenProject: com.roche.sequencing:sequencerWebService:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerWebService/pom.xml, MavenProject: com.roche.sequencing:sequencerSimulator:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerSimulator/pom.xml, MavenProject: com.roche.sequencing:sequencing:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/build/pom.xml]

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerWebService/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencerWebService/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencerWebService/1.0/sequencerWebService-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerSimulator/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencerSimulator/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencerSimulator/1.0/sequencerSimulator-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/common/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$common/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/common/1.0/common-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencer/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencer/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencer/1.0/sequencer-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/build/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencing/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencing/1.0/sequencing-1.0.pom

mavenExecutionResult exceptions not empty

message : Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report (default-cli) on project common: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

-----------------------------------------------------

realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0

strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

urls[0] = file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar

urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar

urls[3] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar

urls[4] = file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar

urls[5] = file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar

urls[6] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar

urls[7] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar

urls[8] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar

urls[9] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar

urls[10] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar

urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar

urls[12] = file:/var/lib/jenkins/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar

urls[13] = file:/var/lib/jenkins/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar

urls[14] = file:/var/lib/jenkins/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar

urls[15] = file:/var/lib/jenkins/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

urls[16] = file:/var/lib/jenkins/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar

urls[17] = file:/var/lib/jenkins/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar

urls[18] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar

urls[19] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar

urls[20] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-core/1.1/doxia-core-1.1.jar

urls[21] = file:/var/lib/jenkins/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar

urls[22] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar

urls[23] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1/doxia-site-renderer-1.1.jar

urls[24] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar

urls[25] = file:/var/lib/jenkins/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar

urls[26] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1/doxia-decoration-model-1.1.jar

urls[27] = file:/var/lib/jenkins/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar

urls[28] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1/doxia-module-xhtml-1.1.jar

urls[29] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1/doxia-module-fml-1.1.jar

urls[30] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar

urls[31] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar

urls[32] = file:/var/lib/jenkins/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar

urls[33] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar

urls[34] = file:/var/lib/jenkins/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar

urls[35] = file:/var/lib/jenkins/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar

urls[36] = file:/var/lib/jenkins/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar

Number of foreign imports: 1

import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

 

-----------------------------------------------------

 

cause : Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

-----------------------------------------------------

realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0

strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

urls[0] = file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar

urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar

urls[3] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar

urls[4] = file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar

urls[5] = file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar

urls[6] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar

urls[7] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar



--
Sent from my phone
Reply | Threaded
Open this post in threaded view
|

RE: mvn version:dependency-updates-report failed on build

Li, Jing

Thanks for the reply.  I got the same error, when I run mvn version:dependency-updates-report at the command line, independent of Jenkins.

 

Jing

 

From: Stephen Connolly [mailto:[hidden email]]
Sent: Wednesday, March 20, 2013 4:18 PM
To: [hidden email]
Subject: Re: [mojo-user] mvn version:dependency-updates-report failed on build

 

In general the reporting mojo's only work when part of the site life cycle. Invoking directly from the command line is, AFAIR, not supported. I could be wrong, so maybe you should ask the general question at the maven list.

 

If direct cli invoking of reporting goals is supposed to work then that would indicate a bug in this plugin, otherwise it is poor documentation on the maven site (or in the highly unlikely event that it documented on the site then it might be PBKAC but I highly doubt that is the case)

 

So the likely outcome is that a JIRA needs to be raised, you just need to find out if that is against v-m-p or the maven documentation.

 

-Stephen

On Wednesday, 20 March 2013, Li, Jing wrote:

Hi there,

 

We have maven projects, it works when using mvn version:display-dependency-updates, but failed when we try to do “mvn version:dependency-updates-report”.  It will be highly appreciated if some one give us any suggestions on it.

 

Thanks in advance.

 

Jing

 

[INFO] --- versions-maven-plugin:2.0:dependency-updates-report (default-cli) @ common ---

mojoFailed org.codehaus.mojo:versions-maven-plugin:2.0(default-cli)

projectFailed com.roche.sequencing:common:1.0

sessionEnded

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Roche Sequencing Common ........................... FAILURE [29.324s]

[INFO] Roche Sequencing Sequencer ........................ SKIPPED

[INFO] Roche Sequencing Sequencer Web Service ............ SKIPPED

[INFO] Roche Sequencer Simulator ......................... SKIPPED

[INFO] Roche Sequencing Apps ............................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.493s

[INFO] Finished at: Wed Mar 20 00:02:20 EDT 2013

[INFO] Final Memory: 19M/168M

[INFO] ------------------------------------------------------------------------

Projects to build: [MavenProject: com.roche.sequencing:common:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/common/pom.xml, MavenProject: com.roche.sequencing:sequencer:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencer/pom.xml, MavenProject: com.roche.sequencing:sequencerWebService:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerWebService/pom.xml, MavenProject: com.roche.sequencing:sequencerSimulator:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerSimulator/pom.xml, MavenProject: com.roche.sequencing:sequencing:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/build/pom.xml]

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerWebService/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencerWebService/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencerWebService/1.0/sequencerWebService-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencerSimulator/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencerSimulator/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencerSimulator/1.0/sequencerSimulator-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/common/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$common/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/common/1.0/common-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/sequencer/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencer/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencer/1.0/sequencer-1.0.pom

[JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/build/pom.xml to /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/modules/com.roche.sequencing$sequencing/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencing/1.0/sequencing-1.0.pom

mavenExecutionResult exceptions not empty

message : Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report (default-cli) on project common: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

-----------------------------------------------------

realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0

strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

urls[0] = file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar

urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar

urls[3] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar

urls[4] = file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar

urls[5] = file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar

urls[6] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar

urls[7] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar

urls[8] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar

urls[9] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar

urls[10] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar

urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar

urls[12] = file:/var/lib/jenkins/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar

urls[13] = file:/var/lib/jenkins/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar

urls[14] = file:/var/lib/jenkins/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar

urls[15] = file:/var/lib/jenkins/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

urls[16] = file:/var/lib/jenkins/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar

urls[17] = file:/var/lib/jenkins/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar

urls[18] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar

urls[19] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar

urls[20] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-core/1.1/doxia-core-1.1.jar

urls[21] = file:/var/lib/jenkins/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar

urls[22] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar

urls[23] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1/doxia-site-renderer-1.1.jar

urls[24] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar

urls[25] = file:/var/lib/jenkins/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar

urls[26] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1/doxia-decoration-model-1.1.jar

urls[27] = file:/var/lib/jenkins/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar

urls[28] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1/doxia-module-xhtml-1.1.jar

urls[29] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1/doxia-module-fml-1.1.jar

urls[30] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar

urls[31] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar

urls[32] = file:/var/lib/jenkins/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar

urls[33] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar

urls[34] = file:/var/lib/jenkins/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar

urls[35] = file:/var/lib/jenkins/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar

urls[36] = file:/var/lib/jenkins/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar

Number of foreign imports: 1

import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

 

-----------------------------------------------------

 

cause : Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext

-----------------------------------------------------

realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0

strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

urls[0] = file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar

urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar

urls[3] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar

urls[4] = file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar

urls[5] = file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar

urls[6] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar

urls[7] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar



--
Sent from my phone

Reply | Threaded
Open this post in threaded view
|

Re: mvn version:dependency-updates-report failed on build

Stephen Connolly-2
My point is that I suspect that *report* goals are not supposed to be run that way.

On Wednesday, 20 March 2013, Li, Jing wrote:

Thanks for the reply.  I got the same error, when I run mvn version:dependency-updates-report at the command line, independent of Jenkins.

 

Jing

 

From: Stephen Connolly [mailto:<a href="javascript:_e({}, &#39;cvml&#39;, &#39;stephen.alan.connolly@gmail.com&#39;);" target="_blank">stephen.alan.connolly@...]
Sent: Wednesday, March 20, 2013 4:18 PM
To: <a href="javascript:_e({}, &#39;cvml&#39;, &#39;user@mojo.codehaus.org&#39;);" target="_blank">user@...
Subject: Re: [mojo-user] mvn version:dependency-updates-report failed on build

 

In general the reporting mojo's only work when part of the site life cycle. Invoking directly from the command line is, AFAIR, not supported. I could be wrong, so maybe you should ask the general question at the maven list.

 

If direct cli invoking of reporting goals is supposed to work then that would indicate a bug in this plugin, otherwise it is poor documentation on the maven site (or in the highly unlikely event that it documented on the site then it might be PBKAC but I highly doubt that is the case)

 

So the likely outcome is that a JIRA needs to be raised, you just need to find out if that is against v-m-p or the maven documentation.

 

-Stephen

On Wednesday, 20 March 2013, Li, Jing wrote:

Hi there,

 

We have maven projects, it works when using mvn version:display-dependency-updates, but failed when we try to do “mvn version:dependency-updates-report”.  It will be highly appreciated if some one give us any suggestions on it.

 

Thanks in advance.

 

Jing

 

[INFO] --- versions-maven-plugin:2.0:dependency-updates-report (default-cli) @ common ---

mojoFailed org.codehaus.mojo:versions-maven-plugin:2.0(default-cli)

projectFailed com.roche.sequencing:common:1.0

sessionEnded

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Roche Sequencing Common ........................... FAILURE [29.324s]

[INFO] Roche Sequencing Sequencer ........................ SKIPPED

[INFO] Roche Sequencing Sequencer Web Service ............ SKIPPED

[INFO] Roche Sequencer Simulator ......................... SKIPPED

[INFO] Roche Sequencing Apps ............................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.493s

[INFO] Finished at: Wed Mar 20 00:02:20 EDT 2013

[INFO] Final Memory: 19M/168M

[INFO] ------------------------------------------------------------------------

Projects to build: [MavenProject: com.roche.sequencing:common:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/common/pom.xml, MavenProject: com.roche.sequencing:



--
Sent from my phone
Reply | Threaded
Open this post in threaded view
|

RE: mvn version:dependency-updates-report failed on build

Li, Jing

But that option was working before for a long time for us, until some time on November, December last year, there was a new version of maven versions plug-in which break it.

 

Thanks

Jing

 

From: Stephen Connolly [mailto:[hidden email]]
Sent: Wednesday, March 20, 2013 4:49 PM
To: [hidden email]
Subject: Re: [mojo-user] mvn version:dependency-updates-report failed on build

 

My point is that I suspect that *report* goals are not supposed to be run that way.

On Wednesday, 20 March 2013, Li, Jing wrote:

Thanks for the reply.  I got the same error, when I run mvn version:dependency-updates-report at the command line, independent of Jenkins.

 

Jing

 

From: Stephen Connolly [mailto:<a href="javascript:_e(%7b%7d,%20'cvml',%20'stephen.alan.connolly@gmail.com');" target="_blank">stephen.alan.connolly@...]
Sent: Wednesday, March 20, 2013 4:18 PM
To: <a href="javascript:_e(%7b%7d,%20'cvml',%20'user@mojo.codehaus.org');" target="_blank">user@...
Subject: Re: [mojo-user] mvn version:dependency-updates-report failed on build

 

In general the reporting mojo's only work when part of the site life cycle. Invoking directly from the command line is, AFAIR, not supported. I could be wrong, so maybe you should ask the general question at the maven list.

 

If direct cli invoking of reporting goals is supposed to work then that would indicate a bug in this plugin, otherwise it is poor documentation on the maven site (or in the highly unlikely event that it documented on the site then it might be PBKAC but I highly doubt that is the case)

 

So the likely outcome is that a JIRA needs to be raised, you just need to find out if that is against v-m-p or the maven documentation.

 

-Stephen

On Wednesday, 20 March 2013, Li, Jing wrote:

Hi there,

 

We have maven projects, it works when using mvn version:display-dependency-updates, but failed when we try to do “mvn version:dependency-updates-report”.  It will be highly appreciated if some one give us any suggestions on it.

 

Thanks in advance.

 

Jing

 

[INFO] --- versions-maven-plugin:2.0:dependency-updates-report (default-cli) @ common ---

mojoFailed org.codehaus.mojo:versions-maven-plugin:2.0(default-cli)

projectFailed com.roche.sequencing:common:1.0

sessionEnded

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Roche Sequencing Common ........................... FAILURE [29.324s]

[INFO] Roche Sequencing Sequencer ........................ SKIPPED

[INFO] Roche Sequencing Sequencer Web Service ............ SKIPPED

[INFO] Roche Sequencer Simulator ......................... SKIPPED

[INFO] Roche Sequencing Apps ............................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.493s

[INFO] Finished at: Wed Mar 20 00:02:20 EDT 2013

[INFO] Final Memory: 19M/168M

[INFO] ------------------------------------------------------------------------

Projects to build: [MavenProject: com.roche.sequencing:common:1.0 @ /var/lib/jenkins/jobs/ISFET Application and Services, Version Report/workspace/sequencing/common/pom.xml, MavenProject: com.roche.sequencing:



--
Sent from my phone

Reply | Threaded
Open this post in threaded view
|

Re: mvn version:dependency-updates-report failed on build

Robert Scholte-3
In reply to this post by Stephen Connolly-2
Reports can be executed from commandline but:
- it won't use the configuration from the reporting-section in the  
pom-file, but acts like a normal build-plugin.
- Pages won't be styled or skinned, it will be missing the menubar, not  
all expressions will be resolved, so you can expect an ugly page.

So only for testing purpose it is interesting to execute reports from  
commandline. In general use the maven-site-plugin.

Robert

On Wed, 20 Mar 2013 21:17:45 +0100, Stephen Connolly  
<[hidden email]> wrote:

> In general the reporting mojo's only work when part of the site life  
> cycle.
> Invoking directly from the command line is, AFAIR, not supported. I could
> be wrong, so maybe you should ask the general question at the maven list.
>
> If direct cli invoking of reporting goals is supposed to work then that
> would indicate a bug in this plugin, otherwise it is poor documentation  
> on
> the maven site (or in the highly unlikely event that it documented on the
> site then it might be PBKAC but I highly doubt that is the case)
>
> So the likely outcome is that a JIRA needs to be raised, you just need to
> find out if that is against v-m-p or the maven documentation.
>
> -Stephen
>
> On Wednesday, 20 March 2013, Li, Jing wrote:
>
>> Hi there,****
>>
>> ** **
>>
>> We have maven projects, it works when using mvn
>> version:display-dependency-updates, but failed when we try to do “mvn
>> version:dependency-updates-report”.  It will be highly appreciated if  
>> some
>> one give us any suggestions on it.****
>>
>> ** **
>>
>> Thanks in advance.****
>>
>> ** **
>>
>> Jing****
>>
>> ** **
>>
>> [INFO] *--- versions-maven-plugin:2.0:dependency-updates-report
>> (default-cli) @ common ---*
>>
>> mojoFailed org.codehaus.mojo:versions-maven-plugin:2.0(default-cli)****
>>
>> projectFailed com.roche.sequencing:common:1.0****
>>
>> sessionEnded****
>>
>> [INFO]
>> ------------------------------------------------------------------------**
>> **
>>
>> [INFO] Reactor Summary:****
>>
>> [INFO] ****
>>
>> [INFO] Roche Sequencing Common ........................... FAILURE
>> [29.324s]****
>>
>> [INFO] Roche Sequencing Sequencer ........................ SKIPPED****
>>
>> [INFO] Roche Sequencing Sequencer Web Service ............ SKIPPED****
>>
>> [INFO] Roche Sequencer Simulator ......................... SKIPPED****
>>
>> [INFO] Roche Sequencing Apps ............................. SKIPPED****
>>
>> [INFO]
>> ------------------------------------------------------------------------**
>> **
>>
>> [INFO] BUILD FAILURE****
>>
>> [INFO]
>> ------------------------------------------------------------------------**
>> **
>>
>> [INFO] Total time: 33.493s****
>>
>> [INFO] Finished at: Wed Mar 20 00:02:20 EDT 2013****
>>
>> [INFO] Final Memory: 19M/168M****
>>
>> [INFO]
>> ------------------------------------------------------------------------**
>> **
>>
>> Projects to build: [MavenProject: com.roche.sequencing:common:1.0 @
>> /var/lib/jenkins/jobs/ISFET Application and Services, Version
>> Report/workspace/sequencing/common/pom.xml, MavenProject:
>> com.roche.sequencing:sequencer:1.0 @ /var/lib/jenkins/jobs/ISFET
>> Application and Services, Version
>> Report/workspace/sequencing/sequencer/pom.xml, MavenProject:
>> com.roche.sequencing:sequencerWebService:1.0 @  
>> /var/lib/jenkins/jobs/ISFET
>> Application and Services, Version
>> Report/workspace/sequencing/sequencerWebService/pom.xml, MavenProject:
>> com.roche.sequencing:sequencerSimulator:1.0 @  
>> /var/lib/jenkins/jobs/ISFET
>> Application and Services, Version
>> Report/workspace/sequencing/sequencerSimulator/pom.xml, MavenProject:
>> com.roche.sequencing:sequencing:1.0 @ /var/lib/jenkins/jobs/ISFET
>> Application and Services, Version  
>> Report/workspace/sequencing/build/pom.xml]
>> ****
>>
>> [JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and  
>> Services,
>> Version Report/workspace/sequencing/sequencerWebService/pom.xml to
>> /var/lib/jenkins/jobs/ISFET Application and Services, Version
>> Report/modules/com.roche.sequencing$sequencerWebService/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencerWebService/1.0/sequencerWebService-1.0.pom
>> ****
>>
>> [JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and  
>> Services,
>> Version Report/workspace/sequencing/sequencerSimulator/pom.xml to
>> /var/lib/jenkins/jobs/ISFET Application and Services, Version
>> Report/modules/com.roche.sequencing$sequencerSimulator/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencerSimulator/1.0/sequencerSimulator-1.0.pom
>> ****
>>
>> [JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and  
>> Services,
>> Version Report/workspace/sequencing/common/pom.xml to
>> /var/lib/jenkins/jobs/ISFET Application and Services, Version
>> Report/modules/com.roche.sequencing$common/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/common/1.0/common-1.0.pom
>> ****
>>
>> [JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and  
>> Services,
>> Version Report/workspace/sequencing/sequencer/pom.xml to
>> /var/lib/jenkins/jobs/ISFET Application and Services, Version
>> Report/modules/com.roche.sequencing$sequencer/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencer/1.0/sequencer-1.0.pom
>> ****
>>
>> [JENKINS] Archiving /var/lib/jenkins/jobs/ISFET Application and  
>> Services,
>> Version Report/workspace/sequencing/build/pom.xml to
>> /var/lib/jenkins/jobs/ISFET Application and Services, Version
>> Report/modules/com.roche.sequencing$sequencing/builds/2013-03-20_00-01-42/archive/com.roche.sequencing/sequencing/1.0/sequencing-1.0.pom
>> ****
>>
>> mavenExecutionResult exceptions not empty****
>>
>> message : Failed to execute goal
>> org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report
>> (default-cli) on project common: Execution default-cli of goal
>> org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report
>> failed: A required class was missing while executing
>> org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report:
>> org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext****
>>
>> -----------------------------------------------------****
>>
>> realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0****
>>
>> strategy =  
>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy****
>>
>> urls[0] =
>> file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar
>> ****
>>
>> urls[1] =
>> file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
>> ****
>>
>> urls[2] =
>> file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
>> ****
>>
>> urls[3] =
>> file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
>> ****
>>
>> urls[4] =
>> file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
>> ****
>>
>> urls[5] =
>> file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
>> ****
>>
>> urls[6] =
>> file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
>> ****
>>
>> urls[7] =
>> file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
>> ****
>>
>> urls[8] =
>> file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
>> ****
>>
>> urls[9] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar
>> ****
>>
>> urls[10] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar
>> ****
>>
>> urls[11] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/
>> 2.0.4.1/maven-reporting-impl-2.0.4.1.jar****
>>
>> urls[12] =
>> file:/var/lib/jenkins/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
>> ****
>>
>> urls[13] =
>> file:/var/lib/jenkins/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
>> ****
>>
>> urls[14] =
>> file:/var/lib/jenkins/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
>> ****
>>
>> urls[15] =
>> file:/var/lib/jenkins/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
>> ****
>>
>> urls[16] =  
>> file:/var/lib/jenkins/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
>> ****
>>
>> urls[17] =
>> file:/var/lib/jenkins/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
>> ****
>>
>> urls[18] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
>> ****
>>
>> urls[19] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar
>> ****
>>
>> urls[20] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-core/1.1/doxia-core-1.1.jar
>> ****
>>
>> urls[21] =
>> file:/var/lib/jenkins/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
>> ****
>>
>> urls[22] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar
>> ****
>>
>> urls[23] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1/doxia-site-renderer-1.1.jar
>> ****
>>
>> urls[24] =
>> file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
>> ****
>>
>> urls[25] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
>> ****
>>
>> urls[26] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1/doxia-decoration-model-1.1.jar
>> ****
>>
>> urls[27] =
>> file:/var/lib/jenkins/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
>> ****
>>
>> urls[28] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1/doxia-module-xhtml-1.1.jar
>> ****
>>
>> urls[29] =
>> file:/var/lib/jenkins/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1/doxia-module-fml-1.1.jar
>> ****
>>
>> urls[30] =
>> file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
>> ****
>>
>> urls[31] =
>> file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
>> ****
>>
>> urls[32] =
>> file:/var/lib/jenkins/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
>> ****
>>
>> urls[33] =
>> file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
>> ****
>>
>> urls[34] =
>> file:/var/lib/jenkins/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar
>> ****
>>
>> urls[35] =
>> file:/var/lib/jenkins/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
>> ****
>>
>> urls[36] =
>> file:/var/lib/jenkins/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
>> ****
>>
>> Number of foreign imports: 1****
>>
>> import: Entry[import  from realm ClassRealm[maven.api, parent:  
>> null]]****
>>
>> ** **
>>
>> -----------------------------------------------------****
>>
>> ** **
>>
>> cause : Execution default-cli of goal
>> org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report
>> failed: A required class was missing while executing
>> org.codehaus.mojo:versions-maven-plugin:2.0:dependency-updates-report:
>> org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext****
>>
>> -----------------------------------------------------****
>>
>> realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.0****
>>
>> strategy =  
>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy****
>>
>> urls[0] =
>> file:/var/lib/jenkins/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.0/versions-maven-plugin-2.0.jar
>> ****
>>
>> urls[1] =
>> file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
>> ****
>>
>> urls[2] =
>> file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
>> ****
>>
>> urls[3] =
>> file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
>> ****
>>
>> urls[4] =
>> file:/var/lib/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
>> ****
>>
>> urls[5] =
>> file:/var/lib/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
>> ****
>>
>> urls[6] =
>> file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
>> ****
>>
>> urls[7] =
>> file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
>> ****
>>
>>
>


--
Using Opera's revolutionary email client: http://www.opera.com/mail/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: mvn version:dependency-updates-report failed on build

Wayne Fay
In reply to this post by Li, Jing
> But that option was working before for a long time for us, until some time
> on November, December last year, there was a new version of maven versions
> plug-in which break it.

Then look at the versions and figure out which one still worked, and
lock it down in your pom or specify that version on the command line.

Wayne

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email