Add coverage-tile
This commit is contained in:
parent
e929f162f0
commit
b1c836d713
4 changed files with 108 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
<tile>net.kemitix.tiles:checkstyle-tile:${kemitix-tiles.version}</tile>
|
||||
<tile>net.kemitix.tiles:digraph-tile:${kemitix-tiles.version}</tile>
|
||||
<tile>net.kemitix.tiles:testing-tile:${kemitix-tiles.version}</tile>
|
||||
<tile>net.kemitix.tiles:coverage-tile:${kemitix-tiles.version}</tile>
|
||||
<tile>net.kemitix.tiles:release-tile:${kemitix-tiles.version}</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
|
|
16
coverage/pom.xml
Normal file
16
coverage/pom.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>tiles-parent</artifactId>
|
||||
<groupId>net.kemitix.tiles</groupId>
|
||||
<version>0.1.0-SNAPSHOT</version>
|
||||
<relativePath>../tiles-parent/pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>coverage-tile</artifactId>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
</project>
|
90
coverage/tile.xml
Normal file
90
coverage/tile.xml
Normal file
|
@ -0,0 +1,90 @@
|
|||
<project>
|
||||
<properties>
|
||||
<jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version>
|
||||
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
|
||||
<maven-jxr-plugin.version>2.5</maven-jxr-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.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
<version>${maven-jxr-plugin.version}</version>
|
||||
</plugin><!-- maven-jxr-plugin -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
</plugin><!-- jacoco-maven-plugin -->
|
||||
</plugins>
|
||||
</reporting>
|
||||
</project>
|
1
pom.xml
1
pom.xml
|
@ -17,6 +17,7 @@
|
|||
<module>release</module>
|
||||
<module>digraph</module>
|
||||
<module>enforcer</module>
|
||||
<module>coverage</module>
|
||||
<module>testing</module>
|
||||
</modules>
|
||||
|
||||
|
|
Loading…
Reference in a new issue