From a5e32a3f71a8044c82989d0a5cf46f9e2bbae804 Mon Sep 17 00:00:00 2001 From: John Blum Date: Thu, 9 Jun 2022 18:03:27 -0700 Subject: [PATCH] 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. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0dd10cf7..4e113a87 100644 --- a/pom.xml +++ b/pom.xml @@ -75,7 +75,7 @@ org.apache.maven.plugins maven-surefire-plugin - --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED + --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 **/*Tests.java **/*Test.java