Hi Team, I have been trying to integrate the jacoco with my project for code coverage but I am getting "Skipping JaCoCo execution due to missing execution data file" message.
I have tried many things but it did not work. Could you please me on this?. My pom.xml configuration given below. <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.5</version> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <configuration> <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</ destFile> <propertyName>surefireArgLine</propertyName> </configuration> </configuration> </execution> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</ dataFile> <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</ outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M4</version> <configuration> <argLine>${surefireArgLine}</argLine> </configuration> </plugin> I tried removing argLine in maven-surefire but I can see "*The forked VM terminated without properly saying goodbye. VM crash or System.exit called?* " I tried removing <propertyName> from Jacoco but still, it didn't work. I tried <forkCount> as 0 in Surefire but no luck. Even tried <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> and <useSystemClassLoader>false</useSystemClassLoader> but none of this worked. Please let me know if you have any suggestions. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/89ad93e9-43c0-441d-9aab-dbff9bc6f1c4%40googlegroups.com.