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


The following commit(s) were added to refs/heads/master by this push:
     new bc9eb841 Add a Java 24 profile for JaCoCo
bc9eb841 is described below

commit bc9eb84189958e607c710539e057499716262f68
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Fri May 2 08:53:00 2025 -0400

    Add a Java 24 profile for JaCoCo
---
 commons-rdf-simple/pom.xml | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/commons-rdf-simple/pom.xml b/commons-rdf-simple/pom.xml
index 725725af..983c8a38 100644
--- a/commons-rdf-simple/pom.xml
+++ b/commons-rdf-simple/pom.xml
@@ -86,7 +86,7 @@
         <jdk>11</jdk>
       </activation>
       <properties>
-        <!-- JaCoCo: Java 11 limits show up differently on Java 11 vs. > 11. 
-->
+        <!-- JaCoCo: Limits show up differently for this Java version. -->
         <!-- JaCoCo: Don't make code coverage worse than: -->
         <commons.jacoco.classRatio>0.84</commons.jacoco.classRatio>
         <commons.jacoco.instructionRatio>0.65</commons.jacoco.instructionRatio>
@@ -97,13 +97,13 @@
       </properties>
     </profile>
     <profile>
-      <!-- Java 24 and up. -->
-      <id>java-17-up</id>
+      <!-- Java 17 -->
+      <id>java-17</id>
       <activation>
-        <jdk>[17,24]</jdk>
+        <jdk>17</jdk>
       </activation>
       <properties>
-        <!-- JaCoCo: Java 17 limits show up differently on Java >= 17. -->
+        <!-- JaCoCo: Limits show up differently for this Java version. -->
         <!-- JaCoCo: Don't make code coverage worse than: -->
         <commons.jacoco.classRatio>0.84</commons.jacoco.classRatio>
         <commons.jacoco.instructionRatio>0.81</commons.jacoco.instructionRatio>
@@ -113,6 +113,19 @@
         <commons.jacoco.complexityRatio>0.72</commons.jacoco.complexityRatio>
       </properties>
     </profile>
+    <profile>
+      <!-- Java 24 -->
+      <id>java-24-up</id>
+      <activation>
+        <jdk>24</jdk>
+      </activation>
+      <properties>
+        <!-- JaCoCo: Limits show up differently for this Java version. -->
+        <!-- JaCoCo: Don't make code coverage worse than: -->
+        <commons.jacoco.branchRatio>0.73</commons.jacoco.branchRatio>
+        <commons.jacoco.complexityRatio>0.73</commons.jacoco.complexityRatio>
+      </properties>
+    </profile>
     <profile>
       <!-- Java 25 -->
       <id>java-25</id>
@@ -120,6 +133,7 @@
         <jdk>25</jdk>
       </activation>
       <properties>
+        <!-- JaCoCo: Limits show up differently for this Java version. -->
         <!-- JaCoCo: Don't make code coverage worse than: -->
         <commons.jacoco.branchRatio>0.71</commons.jacoco.branchRatio>
         <commons.jacoco.complexityRatio>0.71</commons.jacoco.complexityRatio>

Reply via email to