Hello Thanuku,

* you have to include all modules for which you want to have the aggregated
report as dependencies of the aggregating module
* in your aggregating module you only need the report-aggregate execution.
* you have to bind the execution to a phase, e.g. verify.

See
https://gitlab.com/mfriedenhagen/testlink-junit/blob/master/tljunit-jacoco-aggregate/pom.xml
for an example.

Regards
Mirko
-- 
Sent from my mobile
Am 07.06.2016 12:06 schrieb "Thanuku Krishna Chaitanya" <
[email protected]>:

> This is testing my patience.
>
> Let me explain again. I have a project which has 20 modules in it. In one
> of the module we started writing integration tests.
>
> We are using jersey test frameowork for the integration tests.
>
> I added 0.7.7 jacoco maven plugin with report-aggregate goal as described
> above  and i still dont see the reports.
>
> I added the plugin with prepare-agent-integration and report-aggregate but
> the reports are not getting generated
>
> Then changed it to use prepare-agent and report as the goals. The reports
> are generated but only for the classes current module.
>
> I have another module which is completely for integration tests. It won't
> contain source files under main/java. When i run coverage for it, no
> reports are getting generated.
>
> Can anyone please help me?
>
> --
> 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/b16fdd2e-0f29-4e19-afb4-315a728ae3fb%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAK8jvqyROb5poH16bX_qN0qz01QeQF38vWGU4NGGLRN93Zt0RQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to