/[Apache-SVN]
ViewVC logotype

Revision 430440


Jump to revision: Previous Next
Author: kenney
Date: Thu Aug 10 17:09:30 2006 UTC (18 years, 3 months ago)
Changed paths: 6
Log Message:
PR: MNG-2410
Desc: Add support for multi-page reports using multiple sinks.

* Removed unused MultiPageSink and SinkFactory, and the AbstractMavenMultiPageReport
  (could not find any class extending that one, even in Mojo; Also, it doesn't work
  so It's safe to delete).

* Updated deps on doxia-sink-api to 1.0-alpha-9-SNAPSHOT which has the SinkFactory
  interface.

* Updated dep on doxia-site-renderer to 1.0-alpha-9-SNAPSHOT since that uses the sink-api.

* For backwards compatibility I added an MavenMultiPageReport interface.
  Normal reporting plugins can implement that, and the site plugin detects this interface
  and calls the new generate api method with the SinkFactory parameter.

  In the future, the MavenMultiPageReport should be merged with the MavenReport interface,
  and the original generate method should be removed.

  This is the only way to alter the API without breaking existing plugins.



Changed paths

Path Details
Directorymaven/components/trunk/maven-reporting/maven-reporting-api/pom.xml modified , text changed
Directorymaven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java added
Directorymaven/components/trunk/maven-reporting/maven-reporting-impl/pom.xml modified , text changed
Directorymaven/components/trunk/maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java deleted
Directorymaven/components/trunk/maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java modified , text changed
Directorymaven/components/trunk/maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/sink/ deleted

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26