parent
8a8d59a124
commit
340d8da197
2 changed files with 21 additions and 2 deletions
15
pom.xml
15
pom.xml
|
@ -184,6 +184,7 @@
|
||||||
<surefire.memory.metaspace>96m</surefire.memory.metaspace>
|
<surefire.memory.metaspace>96m</surefire.memory.metaspace>
|
||||||
<surefire.memory.metaspace.max>512m</surefire.memory.metaspace.max>
|
<surefire.memory.metaspace.max>512m</surefire.memory.metaspace.max>
|
||||||
<surefire.memory.settings>-Xms${surefire.memory.Xms} -Xmx${surefire.memory.Xmx} -XX:MetaspaceSize=${surefire.memory.metaspace} -XX:MaxMetaspaceSize=${surefire.memory.metaspace.max}</surefire.memory.settings>
|
<surefire.memory.settings>-Xms${surefire.memory.Xms} -Xmx${surefire.memory.Xmx} -XX:MetaspaceSize=${surefire.memory.metaspace} -XX:MaxMetaspaceSize=${surefire.memory.metaspace.max}</surefire.memory.settings>
|
||||||
|
<surefire.system.args></surefire.system.args>
|
||||||
|
|
||||||
<!-- Tomcat versions -->
|
<!-- Tomcat versions -->
|
||||||
<tomcat7.version>7.0.92</tomcat7.version>
|
<tomcat7.version>7.0.92</tomcat7.version>
|
||||||
|
@ -1788,7 +1789,7 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
|
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
|
||||||
<forkMode>once</forkMode>
|
<forkMode>once</forkMode>
|
||||||
<argLine>-Djava.awt.headless=true ${surefire.memory.settings} -Duser.language=en -Duser.region=US</argLine>
|
<argLine>-Djava.awt.headless=true ${surefire.memory.settings} ${surefire.system.args} -Duser.language=en -Duser.region=US</argLine>
|
||||||
<runOrder>alphabetical</runOrder>
|
<runOrder>alphabetical</runOrder>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -1942,6 +1943,18 @@
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>jdk9</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[9,)</jdk>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<surefire.system.args>
|
||||||
|
--add-opens=java.base/java.lang=ALL-UNNAMED
|
||||||
|
</surefire.system.args>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>quarkus</id>
|
<id>quarkus</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
|
|
@ -161,7 +161,7 @@
|
||||||
~ * add-opens=java.naming/javax.naming=ALL-UNNAMED InitialContext proxy generation requires deep reflection in javax.naming
|
~ * add-opens=java.naming/javax.naming=ALL-UNNAMED InitialContext proxy generation requires deep reflection in javax.naming
|
||||||
~ * add-modules=java.se Needed for backward compatibility with jboss-modules older than jboss-modules 1.9.1.Final
|
~ * add-modules=java.se Needed for backward compatibility with jboss-modules older than jboss-modules 1.9.1.Final
|
||||||
-->
|
-->
|
||||||
<default.modular.jvm.options>--add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED --add-modules=java.se</default.modular.jvm.options>
|
<default.modular.jvm.options>--add-exports=java.base/sun.security.validator=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.base/com.sun.crypto.provider=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED --add-modules=java.se</default.modular.jvm.options>
|
||||||
|
|
||||||
<dependency.keystore.root>${project.build.directory}/dependency/keystore</dependency.keystore.root>
|
<dependency.keystore.root>${project.build.directory}/dependency/keystore</dependency.keystore.root>
|
||||||
<dependency.truststore>${dependency.keystore.root}/keycloak.truststore</dependency.truststore>
|
<dependency.truststore>${dependency.keystore.root}/keycloak.truststore</dependency.truststore>
|
||||||
|
@ -2195,6 +2195,9 @@
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>java11-auth-server</id>
|
<id>java11-auth-server</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[11,)</jdk>
|
||||||
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<auth.server.jvm.args.extra>${default.modular.jvm.options}</auth.server.jvm.args.extra>
|
<auth.server.jvm.args.extra>${default.modular.jvm.options}</auth.server.jvm.args.extra>
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -2202,6 +2205,9 @@
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>java11-app-server</id>
|
<id>java11-app-server</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[11,)</jdk>
|
||||||
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<app.server.jvm.args.extra>${default.modular.jvm.options}</app.server.jvm.args.extra>
|
<app.server.jvm.args.extra>${default.modular.jvm.options}</app.server.jvm.args.extra>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
Loading…
Reference in a new issue