Skip to content

[MSHARED-219] Maven3 LinkageError in maven report #34

Description

@jira-importer

Gerhard Wipplinger opened MSHARED-219 and commented

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.

Affects: maven-reporting-exec-1.0.1

Attachments:

Issue Links:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions