Hi,

I tried to create 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() {
              ...
      };
      ... 
  }
}

If I execute this report I get 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.

I think the problem is that the interfaces of the doxia-logging-api are
not imported to the class realm of the report ...


Does anyone has a workaround for this?


Thanks,
Gerhard



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

Reply via email to