I am looking for a solution to use jacoco:check in a multi module maven 
project.
The requirement is to put a threshold of 80% coverage check on the entire 
application instead of individual module as we have *Integration tests* as 
well which are written across module.

Right now, it fails the build even if the check for one module is not above 
the threshold value. Configuration of jacoco check in parent pom.xml:

<execution>
<phase>verify</phase>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>LINE</counter>
<minimum>0.80</minimum>
<value>COVEREDRATIO</value>
</limit>
</limits>
</rule>
</rules>
</configuration>
<goals>
<goal>check</goal>
</goals>
<id>jacoco-check</id>
</execution>




-- 
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/3d92cb62-bce0-4c8e-a378-1034223f0e6an%40googlegroups.com.

Reply via email to