You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2013/05/12 22:35:33 UTC
svn commit: r1481643 - /commons/proper/commons-parent/trunk/pom.xml
Author: luc
Date: Sun May 12 20:35:32 2013
New Revision: 1481643
URL: http://svn.apache.org/r1481643
Log:
use variables for jacoco reports thresholds
Modified:
commons/proper/commons-parent/trunk/pom.xml
Modified: commons/proper/commons-parent/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1481643&r1=1481642&r2=1481643&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Sun May 12 20:35:32 2013
@@ -668,14 +668,14 @@ http://svn.apache.org/repos/asf/commons/
</goals>
<configuration>
<check>
- <classRatio>100</classRatio>
- <instructionRatio>90</instructionRatio>
- <methodRatio>95</methodRatio>
- <branchRatio>85</branchRatio>
- <complexityRatio>85</complexityRatio>
- <lineRatio>90</lineRatio>
+ <classRatio>${commons.jacoco.classRatio}</classRatio>
+ <instructionRatio>${commons.jacoco.instructionRatio}</instructionRatio>
+ <methodRatio>${commons.jacoco.methodRatio}</methodRatio>
+ <branchRatio>${commons.jacoco.branchRatio}</branchRatio>
+ <complexityRatio>${commons.jacoco.complexityRatio}</complexityRatio>
+ <lineRatio>${commons.jacoco.lineRatio}</lineRatio>
</check>
- <haltOnFailure>false</haltOnFailure>
+ <haltOnFailure>${commons.jacoco.haltOnFailure}</haltOnFailure>
</configuration>
</execution>
</executions>
@@ -1239,6 +1239,15 @@ http://svn.apache.org/repos/asf/commons/
<commons.release.3.desc />
<commons.release.3.binary.suffix>-bin</commons.release.3.binary.suffix>
+ <!-- Default values for the jacoco-maven-plugin reports -->
+ <commons.jacoco.classRatio>100</commons.jacoco.classRatio>
+ <commons.jacoco.instructionRatio>90</commons.jacoco.instructionRatio>
+ <commons.jacoco.methodRatio>95</commons.jacoco.methodRatio>
+ <commons.jacoco.branchRatio>85</commons.jacoco.branchRatio>
+ <commons.jacoco.complexityRatio>85</commons.jacoco.complexityRatio>
+ <commons.jacoco.lineRatio>90</commons.jacoco.lineRatio>
+ <commons.jacoco.haltOnFailure>false</commons.jacoco.haltOnFailure>
+
<!-- Commons Component Id -->
<commons.componentid>${project.artifactId}</commons.componentid>