Hi,

unfortunatelly creating a explicit reporting module ("fake") is the only design we currentls support. We didn't find a other way to implement this in Maven. Here you find some reasoning about this design: https://github.com/jacoco/jacoco/wiki/MavenMultiModule

Alternatively you might consider external tools like SonarQube to create reports.

Regards,
-marc

On 27.10.16 11:44, [email protected] wrote:
Hi there,

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!


--
You received this message because you are subscribed to the Google Groups "JaCoCo 
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/cab33edb-818f-1fc2-3650-6fb20310f5d3%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to