The Surefire Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application. It generates reports in 2 different file formats:
By default, these files are generated at ${basedir}/target/surefire-reports.
For an HTML format of the report, please see the Maven Surefire Report Plugin.
The Surefire Plugin has only 1 goal:
Instructions on how to use the Surefire Plugin can be found on the usage page.
The following examples show how to use the Surefire Plugin in more advanced use-cases: