Aggregator mojo for Maven

56 views
Skip to first unread message

Laurent Goujon

unread,
Nov 2, 2020, 12:17:52 PM11/2/20
to JaCoCo and EclEmma Users
Hi,

I've been trying to create a coverage report for a multimodule maven project, but the current mojos provided by the Maven plugin do not quite cover satisfy my needs: be able to gather all execution data files and all the source classes in a single report.

I noticed that some project like Quarkus have the same request I guess, and they decided to create a module to merge all the reports and copy all the sources and classes (https://github.com/quarkusio/quarkus/blob/d1810e28b63d7cd8411c493184b77d0e313bce47/coverage-report/pom.xml) which seems fairly inefficient.

In order to provide something simpler, I created an aggregator Maven plugin to collect all data executions and source/class file locations in order to generate the report. The code is available as a pull request https://github.com/jacoco/jacoco/pull/1115, and of course, feedback is very welcome.

Cheers,

Laurent

Marc Hoffmann

unread,
Nov 2, 2020, 12:21:20 PM11/2/20
to JaCoCo and EclEmma Users
Dear Laurent,

thanks for you pull request! I’ve noticed it but didn’t found time so far to wrap my mind around it.

Cheers,
-marc

--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/29b08232-f622-4b7c-ba26-7d6faae3dcf7n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages