Uses proper syntax for --add-opens
diff --git a/pom.xml b/pom.xml
index 34884cf..930df73 100644
--- a/pom.xml
+++ b/pom.xml
@@ -622,7 +622,8 @@
               <configuration>
                 <argLine>
                   --illegal-access=permit
-                  --add-opens java.base/java.lang/java.util=ALL-UNNAMED
+                  --add-opens java.base/java.lang=ALL-UNNAMED
+                  --add-opens java.base/java.util=ALL-UNNAMED
                   -Dillegal-access=permit
                 </argLine>
               </configuration>