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 #604.
This commit is contained in:
John Blum
2022-06-09 18:03:27 -07:00
parent 83f7a026e0
commit a5e32a3f71

View File

@@ -75,7 +75,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine>
<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>
<includes>
<include>**/*Tests.java</include>
<include>**/*Test.java</include>