Specifying <aggregate>true</aggregate> plus an <outputDirectory> results in an empty surefire-report.html file --------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-478 URL: http://jira.codehaus.org/browse/SUREFIRE-478 Project: Maven Surefire Issue Type: Bug Components: report plugin Affects Versions: 2.4.2 Environment: Windows XP SP2; jdk1.5.0_14; Maven 2.0.8 Reporter: Robert Shanahan The following configuration snippet, from the parent pom of a multi-module project, results in an empty surefire-report.html file. Using default output directory works just fine with aggregate set to true. Setting aggregate to false with a specified output directory has the same result as specifying no output directory and aggregate to false, i.e. a non-empty surefire-report.html file is created, but it has no test results since it is the top level pom. <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <configuration> <outputDirectory>/data/reports</outputDirectory> <aggregate>true</aggregate> </configuration> <executions> <execution> <phase>test</phase> <goals> <goal>report-only</goal> </goals> </execution> </executions> </plugin> </plugins> </build> -- 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