tooling.karaf-maven-plugin: pom.xml: jacoco coverage reporting
<properties>
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
<mvn.opts />
+ <jacoco-class-line-covered-ratio>0.00</jacoco-class-line-covered-ratio>
+ <jacoco-class-instruction-covered-ratio>0.00</jacoco-class-instruction-covered-ratio>
+ <jacoco-class-missed-count-maximum>1</jacoco-class-missed-count-maximum>
</properties>
<dependencies>
<fork>${compiler.fork}</fork>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.7.9</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>report</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>default-check</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <rules>
+ <rule>
+ <element>CLASS</element>
+
+ <limits>
+ <limit>
+ <counter>LINE</counter>
+ <value>COVEREDRATIO</value>
+ <minimum>${jacoco-class-line-covered-ratio}</minimum>
+ </limit>
+ <limit>
+ <counter>INSTRUCTION</counter>
+ <value>COVEREDRATIO</value>
+ <minimum>${jacoco-class-instruction-covered-ratio}</minimum>
+ </limit>
+ <limit>
+ <counter>CLASS</counter>
+ <value>MISSEDCOUNT</value>
+ <maximum>${jacoco-class-missed-count-maximum}</maximum>
+ </limit>
+ </limits>
+ </rule>
+ </rules>
+ </configuration>
+ </plugin>
</plugins>
</build>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ </plugin>
</plugins>
</reporting>
<profiles>
