report-aggregate of jacoco-maven-plugin works only for projects within same 
reactor.
For the more complex scenarios please use
Command Line Interface ( http://www.jacoco.org/jacoco/trunk/doc/cli.html )
or Ant Tasks ( http://www.jacoco.org/jacoco/trunk/doc/ant.html ), the last 
one can be easily integrated into Maven using maven-antrun-plugin ( 
http://maven.apache.org/plugins/maven-antrun-plugin/ ).

On Wednesday, March 14, 2018 at 12:50:50 PM UTC+1, SARATH KUMAR P.K wrote:
>
> I have two multi-module projects. In the first project, I have an EAR 
> project which in turn packages two EJB projects. The EJB projects house few 
> unit and integration tests. The jacoco maven plugin works here fine to 
> generate the aggregated report of the test coverage of EJB code.
> The second project contains no business code but supposed to contain only 
> integration tests. I would like to have the coverage report generated by 
> running these integration tests. I understand the report-aggregate goal 
> picks the artifacts (sources and classes) only from the dependencies in the 
> reactor. As the EJB projects are outside the reactor but still are 
> dependencies of this project, Is there a way to pick artifacts from them?
>
> The complete source code is here
>
> https://github.com/sarathkumarpk/jacocoexample
>
> Does anyone have an idea?
>
>

-- 
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/f8c4878a-9521-4fe6-b81b-34b707327a41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to