This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jxpath.git


The following commit(s) were added to refs/heads/master by this push:
     new 335ea66  Set a baseline for JaCoCo checks
335ea66 is described below

commit 335ea66cb76f3791a59f0cecac5eb6d408afee72
Author: Gary Gregory <[email protected]>
AuthorDate: Wed May 8 15:59:35 2024 -0400

    Set a baseline for JaCoCo checks
---
 pom.xml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index b9ed929..e0301bd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,7 +87,6 @@
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
     
<project.build.outputTimestamp>2024-02-01T03:27:02Z</project.build.outputTimestamp>
-     
     <commons.componentid>jxpath</commons.componentid>
     <commons.module.name>org.apache.commons.jxpath</commons.module.name>
     <commons.release.version>1.4</commons.release.version>
@@ -95,13 +94,18 @@
     <commons.rc.version>RC1</commons.rc.version>
     <commons.bc.version>1.3</commons.bc.version>
     <commons.release.desc>(Java 8 or above)</commons.release.desc>
-
     <commons.jira.id>JXPATH</commons.jira.id>
     <commons.jira.pid>12310480</commons.jira.pid>
-
     <commons.osgi.import>*;resolution:=optional</commons.osgi.import>
+    <!-- JaCoCo: Don't make code coverage worse than: -->
+    <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
+    <commons.jacoco.classRatio>0.92</commons.jacoco.classRatio>
+    <commons.jacoco.instructionRatio>0.74</commons.jacoco.instructionRatio>
+    <commons.jacoco.methodRatio>0.82</commons.jacoco.methodRatio>
+    <commons.jacoco.branchRatio>0.68</commons.jacoco.branchRatio>
+    <commons.jacoco.lineRatio>0.77</commons.jacoco.lineRatio>
+    <commons.jacoco.complexityRatio>0.64</commons.jacoco.complexityRatio>
   </properties> 
-
   <build>
     <defaultGoal>clean apache-rat:check verify japicmp:cmp checkstyle:check 
pmd:check javadoc:javadoc</defaultGoal>
     <plugins>

Reply via email to