Paul Campbell
dd43bf4c13
git-subtree-dir: tiles git-subtree-mainline:d9a18c5d9c
git-subtree-split:48d577e5dc
85 lines
3.7 KiB
XML
85 lines
3.7 KiB
XML
<project>
|
|
<properties>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version>
|
|
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
|
|
<jacoco-class-line-covered-ratio>0.50</jacoco-class-line-covered-ratio>
|
|
<jacoco-class-instruction-covered-ratio>0.80</jacoco-class-instruction-covered-ratio>
|
|
<jacoco-class-missed-count-maximum>0</jacoco-class-missed-count-maximum>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco-maven-plugin.version}</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>
|
|
<excludes>
|
|
<exclude>*Test</exclude>
|
|
<exclude>*IT</exclude>
|
|
<exclude>*Main</exclude>
|
|
<exclude>*Application</exclude>
|
|
<exclude>*Configuration</exclude>
|
|
<exclude>*Immutable*</exclude>
|
|
</excludes>
|
|
<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><!-- jacoco-maven-plugin -->
|
|
<plugin>
|
|
<groupId>org.eluder.coveralls</groupId>
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
|
<version>${coveralls-maven-plugin.version}</version>
|
|
</plugin><!-- coveralls-maven-plugin -->
|
|
</plugins>
|
|
</build>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco-maven-plugin.version}</version>
|
|
</plugin><!-- jacoco-maven-plugin -->
|
|
</plugins>
|
|
</reporting>
|
|
</project>
|