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


The following commit(s) were added to refs/heads/master by this push:
     new 5e246cb7 Try to fix Java 8 build on GH, OK locally.
5e246cb7 is described below

commit 5e246cb7b4d1cb8410543db77feb7befadb2fcf4
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Apr 12 11:18:16 2024 -0400

    Try to fix Java 8 build on GH, OK locally.
---
 pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/pom.xml b/pom.xml
index edb1e266..2839022d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -279,6 +279,25 @@ limitations under the License.
       </plugin>
     </plugins>
   </reporting>
+  <profiles>
+    <profile>
+         <!-- Java 8 only -->
+      <id>java-8</id>
+      <activation>
+               <jdk>8</jdk>
+         </activation>
+      <properties>
+        <!-- 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.97</commons.jacoco.instructionRatio>
+        <commons.jacoco.methodRatio>0.88</commons.jacoco.methodRatio>
+        <commons.jacoco.branchRatio>0.92</commons.jacoco.branchRatio>
+        <commons.jacoco.complexityRatio>0.88</commons.jacoco.complexityRatio>
+        <commons.jacoco.lineRatio>0.94</commons.jacoco.lineRatio>    
+      </properties>
+    </profile>
+  </profiles>
   <developers>
     <developer>
       <name>Henri Yandell</name>

Reply via email to