Multi-maven Jacoco Implementation

22 views
Skip to first unread message

shirisha singireddy

unread,
Nov 22, 2019, 12:18:07 AM11/22/19
to JaCoCo and EclEmma Users
Hi,Iam working on jacoco maven with sub child,I have tried to merge the code coverage reports generated by including the below code in parent pom..

<execution>
<goals>
<goal>merge</goal>
</goals>
<phase>post-integration test</phase>
<configuration>
<destfile>${project.build.directory}/jacoco.merged.exec</destfile>
<filesets>
<fileset implementation="org.apache.maven.shared.model.fileset.Fileset>
<directory>..</directory>
<includes>
<include>**/target/*.exec</include>
</includes>
</filesets>
</configuration>
</exexution>

I have also include "jacoco:merge" in maven goal.


Iam facing the following error when it is getting build.

Error: Failed to execute goal on project.The parameters filesets for goal org.jacoco-maven-plugin:0.8.4:merge are missing or invalid.

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