Report not being generated with Maven-Surefire-Report plugin

The default report should be located in ${basedir}/target/site/surefire-report.html

I believe you might need to include maven-surefire-plugin and junit in the plugins/dependencies respectively.

The surefire report plugin will automatically parse the files matching TEST-.xml in ${basedir}/target/surefire-reports but I believe you need the maven-surefire-plugin in order to generate the TEST-.xml files

Here is the documentation to the plugin. One way might be to run the build and see if the TEST-*.xml files are being generated.

http://maven.apache.org/surefire/maven-surefire-plugin/index.html


By default surfire plugin will create XML and txt files report in {base-dir}/target/surfire-reports. to generate HTML report you can use

mvn surefire-report:report-only

above command will use XML files and will create HTML report at {base-dir/target/site/surefire-report.html}