Skip to content

Instantly share code, notes, and snippets.

@Rocketeer007
Created March 12, 2017 14:14
Show Gist options
  • Save Rocketeer007/f492f8d5e33ecb8b459a8aa6e5e3580e to your computer and use it in GitHub Desktop.
Save Rocketeer007/f492f8d5e33ecb8b459a8aa6e5e3580e to your computer and use it in GitHub Desktop.
Surefire and Failsafe Aggregate Reports
<project>
...
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.19.1</version>
<reportSets>
<reportSet>
<!-- defines aggregate unit test report -->
<id>unit-tests-aggregate</id>
<inherited>false</inherited>
<reports>
<report>report</report>
</reports>
<configuration>
<aggregate>true</aggregate>
</configuration>
</reportSet>
<reportSet>
<!-- defines aggregate integration test report -->
<id>integration-tests-aggregate</id>
<inherited>false</inherited>
<reports>
<report>failsafe-report-only</report>
</reports>
<configuration>
<aggregate>true</aggregate>
</configuration>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
...
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment