Combining clover coverage for different packges to view the consolidated report for sub-project level coverage?

Hi All,

We have a large maven project repository  with different teams owning sub-projects.Each sub-project has multiple project.Its looks somewhat like this:

->Project A
->Project B


And in Project A the packages looks somewhat like this

So my question is whether is it possible to see consolidated coverage report for Project A by combining reports for all packages that are of the form*?

1 answer

0 vote


If all project A packages are in the Project A directory and this is the maven module then you should be able to generate the report by going into Project A directory and calling:

mvn clean clover2:setup verify clover2:aggregate clover2:clover

You should be able also to generate report only for Project A plugin from the root directory with command:

mvn clean clover2:setup verify clover2:aggregate clover2:clover -pl 'Project A'

I'm assuming here that you have already maven-clover2-plugin configured, if not then please refer to this documentation.


NOTE: By default Clover will generate separate reports for each sub-module and then aggregated one for root, I was helping you with configuration to get it generate reports only for root project, see here.


If you're having problem or any other questions feel free to ask.



Grzegorz Lewandowski 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

76 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you