You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Continuum Build Server <co...@ci.codehaus.org> on 2006/08/10 20:04:16 UTC

[continuum] BUILD FAILURE: Maven Reporting API

Online report : http://ci.codehaus.org/continuum-maven/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/202/buildId/7440
Build statistics:
  State: Failed
  Previous State: Ok
  Started at: Thu, 10 Aug 2006 11:04:11 -0700
  Finished at: Thu, 10 Aug 2006 11:04:16 -0700
  Total time: 5s
  Build Trigger: Schedule
  Exit code: 1
  Building machine hostname: cheddar.simulalabs.com
  Operating system : Linux(unknown)
  Java version : 1.5.0_03(Sun Microsystems Inc.)

Changes
         kenney          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.


             /maven/components/trunk/maven-reporting/maven-reporting-api/pom.xml
            /maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java
            /maven/components/trunk/maven-reporting/maven-reporting-impl/pom.xml
            /maven/components/trunk/maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java
            /maven/components/trunk/maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java
            /maven/components/trunk/maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/sink
        
****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Reporting API
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/continuum/continuum-maven/working-directory/202/target
[INFO] Deleting directory /home/continuum/continuum-maven/working-directory/202/target/classes
[INFO] Deleting directory /home/continuum/continuum-maven/working-directory/202/target/test-classes
[INFO] Deleting directory /home/continuum/continuum-maven/working-directory/202/target/site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.maven.doxia:doxia-sink-api:1.0-alpha-9-SNAPSHOT: checking for updates from apache.snapshots
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-9-SNAPSHOT/doxia-sink-api-1.0-alpha-9-20060723.145841-1.pom
451b downloaded
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-9-SNAPSHOT/doxia-sink-api-1.0-alpha-9-20060723.145841-1.jar
4K downloaded
[INFO] [compiler:compile]
Compiling 4 source files to /home/continuum/continuum-maven/working-directory/202/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/continuum/continuum-maven/working-directory/202/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java:[20,35] cannot find symbol
symbol  : class SinkFactory
location: package org.apache.maven.doxia.sink

/home/continuum/continuum-maven/working-directory/202/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java:[35,30] cannot find symbol
symbol  : class SinkFactory
location: interface org.apache.maven.reporting.MavenMultiPageReport


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Thu Aug 10 11:04:16 PDT 2006
[INFO] Final Memory: 7M/99M
[INFO] ------------------------------------------------------------------------

****************************************************************************