Skip to content

Commit 729cd01

Browse files
committed
HV-1969 Add Maven profile to test against JDK 23
1 parent aaeed81 commit 729cd01

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,6 +1476,21 @@
14761476
<surefire.jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire.jvm.args.java-version>
14771477
</properties>
14781478
</profile>
1479+
<profile>
1480+
<id>testWithJdk23</id>
1481+
<activation>
1482+
<property>
1483+
<name>java-version.test.release</name>
1484+
<value>23</value>
1485+
</property>
1486+
</activation>
1487+
<properties>
1488+
<!-- ForbiddenAPIs doesn't work with JDK23+ yet -->
1489+
<forbiddenapis.skip>true</forbiddenapis.skip>
1490+
<!-- We need net.bytebuddy.experimental=true to make Bytebuddy work with JDK23+ -->
1491+
<surefire.jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire.jvm.args.java-version>
1492+
</properties>
1493+
</profile>
14791494
<profile>
14801495
<id>jqassistant</id>
14811496
<!--

0 commit comments

Comments
 (0)