You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kenney Westerhof (JIRA)" <ji...@codehaus.org> on 2007/03/11 15:17:34 UTC

[jira] Closed: (MNG-2410) adding a method in AbstractMavenReport to obtain newSink()

     [ http://jira.codehaus.org/browse/MNG-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenney Westerhof closed MNG-2410.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.1.x)
                   2.1-alpha-1

This has been fixed months ago. Maven-reporting-api contains an
interface MavenMultiPageReport, and maven-reporting-impl
in shared, and the site plugin already check for this. If the interface
is implemented, the new api method (with a SinkFactory parameter)
is called, otherwise the legacy API is called.

> adding a method in AbstractMavenReport to obtain newSink()
> ----------------------------------------------------------
>
>                 Key: MNG-2410
>                 URL: http://jira.codehaus.org/browse/MNG-2410
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Sites & Reporting
>    Affects Versions: 2.0.4
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: Kenney Westerhof
>             Fix For: 2.1-alpha-1
>
>
> Actually when extending AbstractMavenReport, I can get a Sink for write only one page.
> For report, I need to create some pages.
> I like to have a new method called newSink(FileWriter) to write some other pages.
> Or could we have a SinkFactory object injected in AbstractMavenReport ?
> Note, I need a Sink with the current site skin.
> Thanks,
> --
> Olivier

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