Hello,

I have an multi module maven project and and want to define excludes in the 
parent pom. I did some entries but there is no effect. When I check the 
site/jacoco/index.hmtl I still see measurements in the module I have 
excludes (i.e. abc ). For other modules I also found that coding in  
**/test/abc.java has been scanned. 

<profile>
<!-- Code Coverage - Jacoco -->
<id>codecoverage</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.4</version>
<configuration>
<excludes>
<exclude>**/src/main/java/abc/*.java</exclude>
<exclude>**/test/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>pre-unit-test</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

-- 
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/5200bf17-67e5-45a5-89f6-f30a4b352916n%40googlegroups.com.

Reply via email to