[ 
http://jira.codehaus.org/browse/MNG-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185792#action_185792
 ] 

Olivier Lamy commented on MNG-4162:
-----------------------------------

The approach used creating for each report plugin : creating a new ClassRealm 
with parent maven-site-plugin-realm with parent core realm.
Following imported from maven-site-plugin realm :
- org.apache.maven.reporting.MavenReport
- org.codehaus.doxia.sink.Sink
- org.apache.maven.doxia.sink.Sink
- org.apache.maven.doxia.sink.SinkEventAttributes

Note need to add org.apache.maven.artifact.manager.WagonConfigurationException 
in compat.
So I now have the famous issue with :
{code}
        ... 15 more
Caused by: java.lang.NoSuchMethodError: 
org.codehaus.plexus.PlexusContainer.getLoggerManager()Lorg/codehaus/plexus/logging/LoggerManager;
        at 
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:222)
        at 
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:90)
        at 
org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:145)
        ... 19 more
{code}

> Removal of all reporting logic from the core of Maven
> -----------------------------------------------------
>
>                 Key: MNG-4162
>                 URL: http://jira.codehaus.org/browse/MNG-4162
>             Project: Maven 2
>          Issue Type: Improvement
>            Reporter: Jason van Zyl
>             Fix For: 3.0
>
>
> Any reporting implementation will be implemented as a plugin. Maven will 
> provide any information, APIs, and extension points to make this possible. 
> But the conflation of building with reporting in the core makes it almost 
> impossible for anyone two understand the distinction, makes it impossible to 
> have alternate implementations and couple many tools like Doxia directly to 
> the core which is unacceptable for Maven 3.x.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to