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-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e1ec1dd3 Set the bar for JaCoCo checks
8e1ec1dd3 is described below

commit 8e1ec1dd34128f5066cbd3266698387462c3fb90
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed May 8 10:35:19 2024 -0400

    Set the bar for JaCoCo checks
---
 pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pom.xml b/pom.xml
index 1f96b2025..7c97db5e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -84,6 +84,14 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
     
<project.build.outputTimestamp>2024-03-08T23:07:45Z</project.build.outputTimestamp>
     <!-- spdx 0.6.0 can require Java 11 depending on undocumented behavior 
which kicks in for us here. -->
     <commons.spdx.version>0.5.5</commons.spdx.version>
+    <!-- JaCoCo: Don't make code coverage worse than: -->
+    <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
+    <commons.jacoco.classRatio>0.96</commons.jacoco.classRatio>
+    <commons.jacoco.instructionRatio>0.84</commons.jacoco.instructionRatio>
+    <commons.jacoco.methodRatio>0.87</commons.jacoco.methodRatio>
+    <commons.jacoco.branchRatio>0.75</commons.jacoco.branchRatio>
+    <commons.jacoco.lineRatio>0.86</commons.jacoco.lineRatio>
+    <commons.jacoco.complexityRatio>0.72</commons.jacoco.complexityRatio>
   </properties>
 
   <issueManagement>

Reply via email to