When running the goal versions:plugin-updates-report maven reports that the class RenderingContext (apparently to be provided by doxia) is missing, then the plugin crashes. Output follows:
[INFO]
[INFO] --- versions-maven-plugin:2.1:plugin-updates-report (default-cli) @ sb-watcher ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.271 s
[INFO] Finished at: 2015-05-19T15:47:25+00:00
[INFO] Final Memory: 15M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.1:plugin-updates-report (default-cli) on project sb-watcher: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.1:plug
in-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.1:plugin-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.codehaus.mojo:versions-maven-plugin:2.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/amarinperez/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.1/versions-maven-plugin-2.1.jar
[ERROR] urls[1] = file:/C:/Users/amarinperez/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[ERROR] urls[2] = file:/C:/Users/amarinperez/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
[ERROR] urls[3] = file:/C:/Users/amarinperez/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
[ERROR] urls[4] = file:/C:/Users/amarinperez/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
[ERROR] urls[5] = file:/C:/Users/amarinperez/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
[ERROR] urls[6] = file:/C:/Users/amarinperez/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[7] = file:/C:/Users/amarinperez/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[8] = file:/C:/Users/amarinperez/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
[ERROR] urls[9] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar
[ERROR] urls[10] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar
[ERROR] urls[11] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar
[ERROR] urls[12] = file:/C:/Users/amarinperez/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
[ERROR] urls[13] = file:/C:/Users/amarinperez/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[14] = file:/C:/Users/amarinperez/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
[ERROR] urls[15] = file:/C:/Users/amarinperez/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
[ERROR] urls[16] = file:/C:/Users/amarinperez/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[17] = file:/C:/Users/amarinperez/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[ERROR] urls[18] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
[ERROR] urls[19] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar
[ERROR] urls[20] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/doxia/doxia-core/1.1/doxia-core-1.1.jar
[ERROR] urls[21] = file:/C:/Users/amarinperez/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
[ERROR] urls[22] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar
[ERROR] urls[23] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1/doxia-site-renderer-1.1.jar
[ERROR] urls[24] = file:/C:/Users/amarinperez/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
[ERROR] urls[25] = file:/C:/Users/amarinperez/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
[ERROR] urls[26] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1/doxia-decoration-model-1.1.jar
[ERROR] urls[27] = file:/C:/Users/amarinperez/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
[ERROR] urls[28] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1/doxia-module-xhtml-1.1.jar
[ERROR] urls[29] = file:/C:/Users/amarinperez/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1/doxia-module-fml-1.1.jar
[ERROR] urls[30] = file:/C:/Users/amarinperez/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
[ERROR] urls[31] = file:/C:/Users/amarinperez/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[32] = file:/C:/Users/amarinperez/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
[ERROR] urls[33] = file:/C:/Users/amarinperez/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
[ERROR] urls[34] = file:/C:/Users/amarinperez/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar
[ERROR] urls[35] = file:/C:/Users/amarinperez/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
[ERROR] urls[36] = file:/C:/Users/amarinperez/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.apache.maven.doxia.module.xhtml.decoration.render.RenderingContext
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http:
In case it helps, I remember using this goal correctly in the past. The only thing that I can find different between now and when it used to work is that we used to refer to the versions plugin using groupId org.apache.maven.plugins, and only recently we updated it to org.codehaus.mojo.
|