'jacoco-maven-plugin:0.8.7:report (report) - Skipping JaCoCo execution due to missing execution data file
Small question regarding a Java project with JaCoCo plugin please.
I have a very small Java project, where I write some unit test.
during the maven phase, I run mvn clean install and here is part of my POM.
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<configuration>
<append>true</append>
</configuration>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
<goal>report-aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.2.2</version>
</plugin>
I can see the unit tests being run, they all succeed, and I know there is at least some kind of coverage.
However, on my run, I am always getting:
[INFO] argLine set to -javaagent:/Users/me/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/Users/myproject/target/jacoco.exec,append=true
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.7:report (report) @ myproject ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
I am having a hard time understanding what am I doing wrong, and how to fix this issue.
Thank you
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
