Add Coverage Reports built with org.jacoco.ant.ReportTask to maven site?

15 views
Skip to first unread message

danmi...@gmail.com

unread,
Dec 1, 2016, 2:24:59 PM12/1/16
to JaCoCo and EclEmma Users
Hi,

I was wondering if there is a way to add coverage reports to maven site that were generated with the maven-antrun-plugin.

I'm working in a multi module setup and performing offline instrumentation set up like this:

Parent pom
--module1
--module2
--integration-tests

I generate the reports using the maven-antrun-plugin in the integration-tests project and would like to just attach those reports to site.

Dan

Marc R. Hoffmann

unread,
Dec 1, 2016, 3:22:43 PM12/1/16
to jac...@googlegroups.com
Hi Dan,

you might consider our new Maven goal report-aggregate which has been
designed specifically for this use case:

http://www.eclemma.org/jacoco/trunk/doc/report-aggregate-mojo.html

Regards,
-marc
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages