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 10628bf6 Try to fix Java 8 build on GH
10628bf6 is described below

commit 10628bf637276d4594086da499f568f4bb44fc16
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Apr 12 11:21:42 2024 -0400

    Try to fix Java 8 build on GH
---
 pom.xml | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2839022d..4a9e31b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,14 +108,6 @@ limitations under the License.
     
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
     
<project.build.outputTimestamp>2024-02-08T21:29:14Z</project.build.outputTimestamp>
     <commons.jacoco.version>0.8.12</commons.jacoco.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.97</commons.jacoco.instructionRatio>
-    <commons.jacoco.methodRatio>0.93</commons.jacoco.methodRatio>
-    <commons.jacoco.branchRatio>0.92</commons.jacoco.branchRatio>
-    <commons.jacoco.complexityRatio>0.90</commons.jacoco.complexityRatio>
-    <commons.jacoco.lineRatio>0.95</commons.jacoco.lineRatio>    
   </properties>
   <build>
     <defaultGoal>clean verify apache-rat:check japicmp:cmp checkstyle:check 
javadoc:javadoc</defaultGoal>
@@ -297,6 +289,23 @@ limitations under the License.
         <commons.jacoco.lineRatio>0.94</commons.jacoco.lineRatio>    
       </properties>
     </profile>
+    <profile>
+         <!-- Java 9 and up -->
+      <id>java-9-up</id>
+      <activation>
+               <jdk>[9,)</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.93</commons.jacoco.methodRatio>
+        <commons.jacoco.branchRatio>0.92</commons.jacoco.branchRatio>
+        <commons.jacoco.complexityRatio>0.90</commons.jacoco.complexityRatio>
+        <commons.jacoco.lineRatio>0.95</commons.jacoco.lineRatio>    
+      </properties>
+    </profile>
   </profiles>
   <developers>
     <developer>

Reply via email to