commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1481643 - /commons/proper/commons-parent/trunk/pom.xml
Date Sun, 12 May 2013 20:35:33 GMT
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>
 



Mime
View raw message