Reputation: 466
I've a parent pom project with various submodules. I want to get a report of the unit tests results but using surfire plugin, I get an independent result for each module.
I mean, if I execute:
mvn surefire-report:report
from the parent directory where the parent pom is located, it creates a surefire-report.html for each subproject but what I want, is only one html with the results of all the subprojectes.
Is there any way to achieve this automatically? Using surefire or some other plugin.
Upvotes: 9
Views: 7074
Reputation: 9059
To create the aggregate report
please try to use the following command at theparent project
.
mvn surefire-report:report -Daggregate=true
I hope this may help.
Upvotes: 23