Skip to content

Commit a5e32a3

Browse files
committed
Refactor the Maven Surefire (Build) Plugin to declare all the necessary JVM module options to get Apache Geode processes running correctly on Java 17.
Closes spring-projects#604.
1 parent 83f7a02 commit a5e32a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<groupId>org.apache.maven.plugins</groupId>
7676
<artifactId>maven-surefire-plugin</artifactId>
7777
<configuration>
78-
<argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine>
78+
<argLine>--add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=java.management/com.sun.jmx.remote.security=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED</argLine>
7979
<includes>
8080
<include>**/*Tests.java</include>
8181
<include>**/*Test.java</include>

0 commit comments

Comments
 (0)