Hi,

Yes it is possible starting from version 0.7.7 , which introduced 
"report-aggregate" Maven mojo - 
see http://www.eclemma.org/jacoco/trunk/doc/report-aggregate-mojo.html
Build of JaCoCo itself utilizes this feature - 
see 
https://github.com/jacoco/jacoco/blob/9b1c6f5a0ead14e253e9809cce37edf7ea8bcafb/org.jacoco.doc/pom.xml#L111-L135
Also you can find an example in integration tests for JaCoCo Maven Plugin - 
see 
https://github.com/jacoco/jacoco/tree/v0.7.7/jacoco-maven-plugin.test/it/it-report-aggregate
And you can find other examples in internet, 
e.g. https://groups.google.com/d/msg/jacoco/mfRi97alxqs/63KqpEZKAQAJ

Hope this helps.

Best regards,
Evgeny

On Wednesday, September 28, 2016 at 10:23:36 AM UTC+2, 
[email protected] wrote:
>
> Hi,
>
> I came to know that we can generate aggregate-report that reports cross 
> module code coverage for the maven plugin.
>
> Please look into the below explanation for details about my question.
>
> I have 2 Modules A and B.
> If module A has Spring tests written which covers module A and 50% classes 
> of module B.
> Module B has unit tests which cover other 50% classes of module B. 
>
> Can we generate aggregate report for both modules A and B which shows 
> coverage for module B as 100%?
> Or does the latest version support in a way that the coverage is brought 
> up for module A and 50% of module B only?
>
> If Yes, please help with the configuration for the same.
>
> Please let me know for any additional information.
>
> Thank you.
>
>

-- 
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/ce314dd3-c721-440f-a331-4b549d364db9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to