Greetings,

When I update from 3.0 to 3.1 I get the error below.  I've reproduced it on a 
couple projects, but here is a relatively simple POM that manifests the issue 
when updated:

https://github.com/themadcreator/rabinfingerprint/blob/447cd065825b97e62a9b100f080ba217ba821de7/pom.xml

Is this a bug, or am I missing a change required for upgrade to 3.1?  I'm 
running Maven 3.0.4.

Thanks,

Ian


$ mvn site
[...]
[INFO] --- maven-site-plugin:3.1:site (default-site) @ rabinfingerprint ---
Aug 12, 2012 12:35:05 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn
WARNING: Error injecting: 
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer
java.lang.NoClassDefFoundError: org/apache/maven/doxia/logging/Log
        at java.lang.Class.getDeclaredConstructors0(Native Method)
[...]
Caused by: java.lang.ClassNotFoundException: org.apache.maven.doxia.logging.Log
        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)
        ... 89 more
Aug 12, 2012 12:35:05 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn
WARNING: Error injecting: org.apache.maven.plugins.site.SiteMojo
java.lang.NoClassDefFoundError: org/apache/maven/doxia/logging/Log
        at java.lang.Class.getDeclaredConstructors0(Native Method)
[...]
Caused by: java.lang.ClassNotFoundException: org.apache.maven.doxia.logging.Log
        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)
        ... 89 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.732s
[INFO] Finished at: Sun Aug 12 12:35:05 PDT 2012
[INFO] Final Memory: 8M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.1:site (default-site) on project 
rabinfingerprint: Execution default-site of goal 
org.apache.maven.plugins:maven-site-plugin:3.1:site failed: A required class 
was missing while executing 
org.apache.maven.plugins:maven-site-plugin:3.1:site: 
org/apache/maven/doxia/logging/Log
[...]


On May 1, 2012, at 10:54 AM, Dennis Lundberg wrote:

> The Maven team is pleased to announce the release of the Maven Site Plugin 3, 
> version 3.1
> 
> The Maven Site Plugin is a plugin that generates a site for the current 
> project.
> 
> http://maven.apache.org/plugins/maven-site-plugin
> 
> You should specify the version in your project's plugin configuration:
> 
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-site-plugin</artifactId>
>  <version>3.1</version>
> </plugin>
> 
> 
> Release Notes - Maven Site Plugin 3 - Version 3.1
> 
> Bug
> * [MSITE-638] site.xml <custom> parameter and template variables not 
> documented
> * [MSITE-633] Doco: reference to ${currentVersion} should be 
> ${currentStableVersion} in creating-content.html#Filtering
> * [MSITE-624] Usage page has incorrect information on the id used by 
> site:stage-deploy
> * [MSITE-621] empty outputDirectory causes mvn clean to delete whole tree
> * [MSITE-620] Fix documentation of  attach-descriptor according to Maven3 
> Compatibility Notes
> * [MSITE-610] No doc for reportPlugins in main goal docs
> * [MSITE-609] site:deploy is broken
> * [MSITE-607] no documentation for breadcrumbs in the doc of site.xml
> * [MSITE-603] ClassNotFoundException on site:site when validating XML input 
> documents
> * [MSITE-602] The staged site is deployed to the wrong place
> * [MSITE-600] site plugin 3.0 does not permit a child to fully override 
> parent site deployment URL
> * [MSITE-549] Not possible to easily customise footer
> * [MSITE-402] Execution order of report plugins is arbitrary if inheritance 
> is involved
> 
> New Feature
> * [MSITE-582] Make it possible to remove breadcrumbs in child projects again
> 
> Task
> * [MSITE-641] Require Maven 2.2.1
> * [MSITE-637] Upgrade to doxia-sitetools-1.3
> * [MSITE-636] Upgrade to doxia-1.3
> * [MSITE-627] Upgrade to reporting-exec 1.0.2
> * [MSITE-625] Please add an 'archive' parameter to the 'jar' goal of the 
> 'maven-site-plugin'.
> 
> 
> Enjoy,
> 
> -The Maven team
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to