<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<configuration>
<excludes>
<exclude>com/sebastian/p1/**/*</exclude>
<exclude>com/sebastian/**/*</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
Maven Site:
Jenkins plugin:
The values differ by several percent. Missed Instructions 9% vs 1%...
Is it possible that the Jenkins plugin can read the exclusions from the pom.xml directly. I don't want to have to maintain 2 list of exclusions.