[ 
https://jira.codehaus.org/browse/MSITE-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306213#comment-306213
 ] 

Ian Brandt commented on MSITE-648:
----------------------------------

I tried building with a fresh local repo via {{mvn 
-Dmaven.repo.local=./.m2/repository site}}, and sure enough it works for me now 
as well.  It would seem I've picked up a bad dependency somehow:

{noformat}
$ sha1sum 
/Users/ibrandt/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar
38cb0021345de82b4b5463b90576318d4fe7e5fb  
/Users/ibrandt/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar
$ sha1sum 
./.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar
bc61324cc8ff649d0e50e4194e07bf6ed29b4531  
./.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar
{noformat}

{noformat}
$ unzip -t 
/Users/ibrandt/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar
Archive:  
/Users/ibrandt/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar
file #1:  bad zipfile offset (local header sig):  0
file #2:  bad zipfile offset (local header sig):  39
file #3:  bad zipfile offset (local header sig):  298
file #4:  bad zipfile offset (local header sig):  332
file #5:  bad zipfile offset (local header sig):  373
file #6:  bad zipfile offset (local header sig):  420
file #7:  bad zipfile offset (local header sig):  473
file #8:  bad zipfile offset (local header sig):  534
file #9:  bad zipfile offset (local header sig):  907
    testing: META-INF/NOTICE          OK
    testing: org/apache/maven/doxia/logging/Log.class   OK
    testing: org/apache/maven/doxia/logging/LogEnabled.class   OK
    testing: org/apache/maven/doxia/logging/PlexusLoggerWrapper.class   OK
    testing: org/apache/maven/doxia/logging/SystemStreamLog.class   OK
    testing: META-INF/maven/          OK
    testing: META-INF/maven/org.apache.maven.doxia/   OK
    testing: META-INF/maven/org.apache.maven.doxia/doxia-logging-api/   OK
    testing: META-INF/maven/org.apache.maven.doxia/doxia-logging-api/pom.xml   
OK
    testing: 
META-INF/maven/org.apache.maven.doxia/doxia-logging-api/pom.properties   OK
At least one error was detected in 
/Users/ibrandt/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar.
$ unzip -t 
./.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar
Archive:  
./.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar
    testing: META-INF/                OK
    testing: META-INF/MANIFEST.MF     OK
    testing: org/                     OK
    testing: org/apache/              OK
    testing: org/apache/maven/        OK
    testing: org/apache/maven/doxia/   OK
    testing: org/apache/maven/doxia/logging/   OK
    testing: META-INF/DEPENDENCIES    OK
    testing: META-INF/LICENSE         OK
    testing: META-INF/NOTICE          OK
    testing: org/apache/maven/doxia/logging/Log.class   OK
    testing: org/apache/maven/doxia/logging/LogEnabled.class   OK
    testing: org/apache/maven/doxia/logging/PlexusLoggerWrapper.class   OK
    testing: org/apache/maven/doxia/logging/SystemStreamLog.class   OK
    testing: META-INF/maven/          OK
    testing: META-INF/maven/org.apache.maven.doxia/   OK
    testing: META-INF/maven/org.apache.maven.doxia/doxia-logging-api/   OK
    testing: META-INF/maven/org.apache.maven.doxia/doxia-logging-api/pom.xml   
OK
    testing: 
META-INF/maven/org.apache.maven.doxia/doxia-logging-api/pom.properties   OK
No errors detected in compressed data of 
./.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.3/doxia-logging-api-1.3.jar.
{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

        

Reply via email to