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-io.git
The following commit(s) were added to refs/heads/master by this push: new 613e7283b Set the bar for Jacoco checks 613e7283b is described below commit 613e7283bc0c58f3424986eacf3d333c295c4402 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed May 8 09:27:42 2024 -0400 Set the bar for Jacoco checks --- pom.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f41338e9b..c6e695150 100644 --- a/pom.xml +++ b/pom.xml @@ -159,10 +159,17 @@ file comparators, endian transformation classes, and much more. <jmh.version>1.37</jmh.version> <commons.bytebuddy.version>1.14.14</commons.bytebuddy.version> <japicmp.skip>false</japicmp.skip> - <jacoco.skip>${env.JACOCO_SKIP}</jacoco.skip> <commons.release.isDistModule>true</commons.release.isDistModule> + <!-- JaCoCo: Don't make code coverage worse than: --> + <jacoco.skip>${env.JACOCO_SKIP}</jacoco.skip> + <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure> + <commons.jacoco.classRatio>0.98</commons.jacoco.classRatio> + <commons.jacoco.instructionRatio>0.90</commons.jacoco.instructionRatio> + <commons.jacoco.methodRatio>0.90</commons.jacoco.methodRatio> + <commons.jacoco.branchRatio>0.86</commons.jacoco.branchRatio> + <commons.jacoco.lineRatio>0.90</commons.jacoco.lineRatio> + <commons.jacoco.complexityRatio>0.85</commons.jacoco.complexityRatio> </properties> - <build> <!-- japicmp:cmp needs package to work from a jar --> <defaultGoal>clean verify apache-rat:check japicmp:cmp checkstyle:check spotbugs:check pmd:check javadoc:javadoc</defaultGoal>