I'm looking for a way to aggregate coverage report for a multi-modules maven project.
My project looks like:
Root
|-Module 1
|-Module 2
|-Module 3
|-|-Submodule 1
|-|-Submodule 2
|-Module 4
Some of the modules depend on some other, some do not.
What I would like to do is run "mvn test" on the root module, that will run all the tests for all the modules, and generate a single aggregated report covering all the modules.
I'm aware of "report-aggregate", but it aggregates reports only for the dependencies of a given module, which does not work in my case.
Is there a way to achieve that without having to create one "fake" module dependent on all the others? This is not suitable for me, as I have 25+ modules and it would require to manually list all of them and keep updating this list whenever I add a new module.
Thanks!
I have already read the page you've linked, but I wanted to be sure I did not miss the point. So now it is clear :)
Thanks for the quick reply!