Configure Jacoco limits using properties
This commit is contained in:
parent
6b292931d6
commit
9f1b6fb68c
1 changed files with 7 additions and 3 deletions
10
pom.xml
10
pom.xml
|
@ -57,6 +57,10 @@
|
||||||
<highwheel-maven.version>1.2</highwheel-maven.version>
|
<highwheel-maven.version>1.2</highwheel-maven.version>
|
||||||
<maven-project-info-reports-plugin.version>2.9</maven-project-info-reports-plugin.version>
|
<maven-project-info-reports-plugin.version>2.9</maven-project-info-reports-plugin.version>
|
||||||
<maven-jxr-plugin.version>2.5</maven-jxr-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>
|
</properties>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
|
@ -301,17 +305,17 @@
|
||||||
<limit>
|
<limit>
|
||||||
<counter>LINE</counter>
|
<counter>LINE</counter>
|
||||||
<value>COVEREDRATIO</value>
|
<value>COVEREDRATIO</value>
|
||||||
<minimum>0.50</minimum>
|
<minimum>${jacoco-class-line-covered-ratio}</minimum>
|
||||||
</limit>
|
</limit>
|
||||||
<limit>
|
<limit>
|
||||||
<counter>INSTRUCTION</counter>
|
<counter>INSTRUCTION</counter>
|
||||||
<value>COVEREDRATIO</value>
|
<value>COVEREDRATIO</value>
|
||||||
<minimum>0.80</minimum>
|
<minimum>${jacoco-class-instruction-covered-ratio}</minimum>
|
||||||
</limit>
|
</limit>
|
||||||
<limit>
|
<limit>
|
||||||
<counter>CLASS</counter>
|
<counter>CLASS</counter>
|
||||||
<value>MISSEDCOUNT</value>
|
<value>MISSEDCOUNT</value>
|
||||||
<maximum>0</maximum>
|
<maximum>${jacoco-class-missed-count-maximum}</maximum>
|
||||||
</limit>
|
</limit>
|
||||||
</limits>
|
</limits>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
Loading…
Reference in a new issue