[
https://jira.codehaus.org/browse/MSITE-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306210#comment-306210
]
Ian Brandt commented on MSITE-648:
----------------------------------
Just for completeness here is my diff to the above POM:
{noformat}
$ git diff
diff --git a/pom.xml b/pom.xml
index cfb3041..20e805a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,7 +124,7 @@
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
- <version>3.0</version>
+ <version>3.1</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
{noformat}
> NoClassDefFoundError upgrading to Maven Site Plugin 3.1
> -------------------------------------------------------
>
> Key: MSITE-648
> URL: https://jira.codehaus.org/browse/MSITE-648
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Ian Brandt
> Attachments: build.log, MSITE-648.out
>
>
> 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
> {noformat}
> [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
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira