Hi,

> I never used it but a class already exist in the API to support multi
> page report:
> AbstractMavenMultiPageReport

We tried using the class but it requires a SinkFactory object that only 
site-plugin could provide but currently does not. Have a look at  
SiteMojo.generateReportsPages() where the sink is initialized, this needs to 
be done for each page that is generated.

Defining a MavenMultiPageReport interface would help:

 void generate( SinkFactory sinkFactory, Locale locale )
        throws MavenReportException;

That way report plugins could create as many sinks (and pages) as required.

Another possibility that comes to mind is to create a bunch of xdocs files and 
tell the site-plugin about their location (similar to the maven1 
target/generated-xdocs directory).

Comments?

Steffen

-- 
Steffen Pingel - [EMAIL PROTECTED] - http://steffenpingel.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to