Aggregate report is empty for multimodule build.
------------------------------------------------

                 Key: SUREFIRE-666
                 URL: http://jira.codehaus.org/browse/SUREFIRE-666
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Surefire Report Plugin
    Affects Versions: 2.6
         Environment: Maven 2.2.1
            Reporter: Marcin Kuthan


When the report aggregation is enabled:

1. On module level empty surefire report page is generated
2. On top level surefire report with 0 tests is generated

Surefire report plugin configuration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${plugins.surefireVersion}</version>
<configuration>
<reportsDirectories>
<reportsDirectory>${project.build.directory}/surefire-reports/</reportsDirectory>
<reportsDirectory>${project.build.directory}/failsafe-reports/</reportsDirectory>
</reportsDirectories>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>report-only</report>
</reports>
</reportSet>
</reportSets>
</plugin>

To reproduce the issue:
1. svn checkout http://m4enterprise.googlecode.com/svn/trunk/ 
m4enterprise-read-only
2. call "mvn install" against corporate-pom and modular-war modules.
3. call "mvn site:stage -Daggregate=true" against modular-war.
4. check the reports in modular-war/target/stage directory.

I was looking for description how to configure surefire and failsafe together 
for multi module project. No luck :-(

Thanks,
Marcin

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

        

Reply via email to