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 c7b63338 Add a Java 21 profile for JaCoCo
c7b63338 is described below
commit c7b6333883c917f8a93daa9a01eb0b1941fb178d
Author: Gary D. Gregory <[email protected]>
AuthorDate: Fri May 2 09:00:55 2025 -0400
Add a Java 21 profile for JaCoCo
---
commons-rdf-simple/pom.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/commons-rdf-simple/pom.xml b/commons-rdf-simple/pom.xml
index 983c8a38..81e1fbda 100644
--- a/commons-rdf-simple/pom.xml
+++ b/commons-rdf-simple/pom.xml
@@ -113,6 +113,19 @@
<commons.jacoco.complexityRatio>0.72</commons.jacoco.complexityRatio>
</properties>
</profile>
+ <profile>
+ <!-- Java 21 -->
+ <id>java-21-up</id>
+ <activation>
+ <jdk>21</jdk>
+ </activation>
+ <properties>
+ <!-- JaCoCo: Limits show up differently for this Java version. -->
+ <!-- JaCoCo: Don't make code coverage worse than: -->
+ <commons.jacoco.branchRatio>0.72</commons.jacoco.branchRatio>
+ <commons.jacoco.complexityRatio>0.72</commons.jacoco.complexityRatio>
+ </properties>
+ </profile>
<profile>
<!-- Java 24 -->
<id>java-24-up</id>