maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSHARED-159) remove [WARNING] Deprecated API called - not org.apache.maven.doxia.sink.Sink instance and no SinkFactory available. Please update this plugin.
Date Fri, 02 Jul 2010 21:53:32 GMT

    [ http://jira.codehaus.org/browse/MSHARED-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227079#action_227079
] 

Herve Boutemy commented on MSHARED-159:
---------------------------------------

generate method is either called by maven-site-plugin, either called by another plugin that
wants to generate report independently from maven-site-plugin

which plugin other than maven-site-plugin generates reports?

the only case I know of is the plugin itself, to be able to invoke the standalone report without
whole site: this case is implemented in reporting implementation, with a call to the MavenMutiPageReport
API

I don't find any practical cases needing this warning.
On the other hand, I know that maven-site-plugin < 3.0-beta-1 can't call the new API because
of classloading issues (MavenPultiPageReport interface is not in Maven core classloader, but
loaded separately for every reporting plugin)

Then this warning has only drawbacks to IMHO

> remove [WARNING] Deprecated API called - not org.apache.maven.doxia.sink.Sink instance
and no SinkFactory available. Please update this plugin.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MSHARED-159
>                 URL: http://jira.codehaus.org/browse/MSHARED-159
>             Project: Maven Shared Components
>          Issue Type: Wish
>          Components: maven-reporting-impl
>    Affects Versions: maven-reporting-impl 2.1
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>             Fix For: maven-reporting-impl 2.2
>
>
> First: this message is not very informative: *maven-site-plugin* should be updated, not
the report causing the warning (like seen in MPIR-194)
> Second: maven-site-plugin is in cause, not really maven-reporting-impl: see MSITE-490

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

        

Mime
View raw message