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 via email to