Gerhard Wipplinger created MSHARED-219:
------------------------------------------

             Summary: Maven3 LinkageError in maven report
                 Key: MSHARED-219
                 URL: https://jira.codehaus.org/browse/MSHARED-219
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-reporting-exec
    Affects Versions: maven-reporting-exec-1.0.1
         Environment: [INFO] Maven Version: 3.0.3
[INFO] JDK Version: 1.6.0_26 normalized as: 1.6.0-26
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.32-37-generic

            Reporter: Gerhard Wipplinger
         Attachments: MSHARED-219.patch

Creating a maven report using some kind of a filter sink:

public class DoxiaTestMojo extends AbstractMavenReport {

...

 @Override
 protected void executeReport(Locale locale) throws
MavenReportException {
     org.apache.maven.doxia.sink.Sink s = new SinkAdapter() {
             ...
     };
     ...
 }
}

produces the following error:

[WARNING] An issue has occurred with report at.gw.test.DoxiaTestMojo,
skip LinkageError loader constraint violation in interface itable
initialization: when resolving method
"org.apache.maven.doxia.sink.AbstractSink.enableLogging(Lorg/apache/maven/doxia/logging/Log;)V"
 the class loader (instance of 
org/codehaus/plexus/classworlds/realm/ClassRealm) of the current class, 
org/apache/maven/doxia/sink/AbstractSink, and the class loader (instance of 
org/codehaus/plexus/classworlds/realm/ClassRealm) for interface 
org/apache/maven/doxia/logging/LogEnabled have different Class objects for the 
type org/apache/maven/doxia/logging/Log used in the signature, please report an 
issue to Maven dev team.


--
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