Aggregate Reporting with offline instrumentation

38 views
Skip to first unread message

javam...@gmail.com

unread,
Jan 6, 2018, 12:15:45 AM1/6/18
to JaCoCo and EclEmma Users
Hi,

I've been following your documents and i'm currently having issues with Aggregate reporting paired with offline instrumentation,
I've tweaked the pom written here: https://github.com/jacoco/jacoco/tree/master/jacoco-maven-plugin.test/it/it-report-aggregate

To use offline instrumentation, however when I do so the reports project does not pickup the coverage even though I've set the .exec file output directory the same as the sample written on the git page.

Any help would be appreciated !

Thanks,

javam...@gmail.com

unread,
Jan 6, 2018, 12:24:18 AM1/6/18
to JaCoCo and EclEmma Users


I was able to make it work !
My output file had a different format type so it was not read by the Aggregate.

A follow up question,
I've set up the offline instrumentation part on the parent pom along with the expected output file destination,

Is there anyway to override that on the child poms?
Sample is i have a structure like this
Root
- Child1
- Child2

I've set up Root to have an output file <jacoco-agent.destfile>${project.build.directory}/coverage.coverage</jacoco-agent.destfile>

I'd like to make child2 output a little different so I could exclude it on the aggregate report like:
${project.build.directory}/exclude.coverage

I'd appreciate any help !

Thannks

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