Remove -XX:MaxPermSize from poms to allow builds with Java >= 17
-XX:MaxPermSize is deprecated since Java 8, obsolete since Java 16 and unsupported since Java 17. See:
https://docs.oracle.com/en/java/javase/16/docs/specs/man/java.html#obsolete-java-options
This fixes the docker build with Java 19.
Change-Id: Ic3427952e7b92357f462757350f8e7271c8b38f7
diff --git a/lite/pom.xml b/lite/pom.xml
index a7f2886..efa9e56 100644
--- a/lite/pom.xml
+++ b/lite/pom.xml
@@ -70,11 +70,11 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
- <useSystemClassLoader>false</useSystemClassLoader>
+ <useSystemClassLoader>false</useSystemClassLoader>
<reuseForks>true</reuseForks>
<forkCount>1</forkCount>
<threadCount>5</threadCount>
- <argLine>-Xmx512m -XX:MaxPermSize=256m
+ <argLine>-Xmx512m
-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine>
</configuration>
</plugin>