Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added property with add-opens, add-exports JVM arguments #1737

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deegree-services/deegree-webservices/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<port>8080</port>
<idleTimeout>60000</idleTimeout>
</httpConnector>
<jvmArgs>--illegal-access=warn --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.desktop/com.sun.imageio.spi=ALL-UNNAMED --add-opens java.desktop/javax.imageio.spi=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/com.sun.imageio.spi=ALL-UNNAMED --add-exports java.desktop/sun.swing=ALL-UNNAMED --add-opens java.desktop/javax.imageio.spi=ALL-UNNAMED</jvmArgs>
<jvmArgs>${jvm.args}</jvmArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 1 addition & 2 deletions deegree-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<stopPort>${jetty.stop.port}</stopPort>
<stopKey>STOP</stopKey>
<stopWait>10</stopWait>
Expand All @@ -58,6 +57,7 @@
<jetty.home>${project.basedir}/src/main/resources</jetty.home>
<javax.xml.transform.TransformerFactory>net.sf.saxon.TransformerFactoryImpl</javax.xml.transform.TransformerFactory>
</systemProperties>
<jvmArgs>${jvm.args}</jvmArgs>
<loginServices>
<loginService implementation="org.eclipse.jetty.security.HashLoginService">
<name>deegree web configuration API</name>
Expand All @@ -78,7 +78,6 @@
<goal>start</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
</configuration>
</execution>
<execution>
Expand Down
8 changes: 3 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<!-- Travis build workaround -->
<argLine>-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xms1024m -Xmx2048m --illegal-access=permit
<argLine>-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xms1024m -Xmx2048m
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
Expand All @@ -163,9 +162,7 @@
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<argLine>
--illegal-access=permit
</argLine>
<argLine>${jvm.args}</argLine>
</configuration>
</plugin>
<!-- reporting and site -->
Expand Down Expand Up @@ -1215,6 +1212,7 @@
<axiom.version>1.4.0</axiom.version>
<jsonpath.version>2.9.0</jsonpath.version>
<jsonsmart.version>2.5.1</jsonsmart.version>
<jvm.args>--add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/com.sun.imageio.spi=ALL-UNNAMED --add-exports java.desktop/sun.swing=ALL-UNNAMED --add-opens java.desktop/javax.imageio.spi=ALL-UNNAMED --add-opens java.desktop/com.sun.imageio.spi=ALL-UNNAMED</jvm.args>
</properties>

<modules>
Expand Down