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

Move add-opens flags to plugins that need them #1092

Merged
merged 1 commit into from
Dec 20, 2024
Merged
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
29 changes: 9 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</licenses>

<issueManagement>
<url>https://github.com/oskariorg/oskari-docs/issues</url>
<url>https://github.com/oskariorg/oskari-documentation/issues</url>
<system>GitHub Issues</system>
</issueManagement>

Expand Down Expand Up @@ -977,6 +977,14 @@ The 2.15 doesn't report any breaking changes so its backwards compatible with 2.
<!-- headless=true prevents forking java process from stealing window focus on Mac OS -->
<!-- syslog.level makes builds less verbose (defaults to system.out logger) -->
<argLine>
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
--add-opens java.base/java.util.stream=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.io=ALL-UNNAMED
--add-opens java.base/jdk.internal.loader=ALL-UNNAMED
--add-opens java.xml/jdk.xml.internal=ALL-UNNAMED
${module.build.config}
-Djava.awt.headless=true
-Doskari.syslog.level=warn</argLine>
Expand Down Expand Up @@ -1149,25 +1157,6 @@ The 2.15 doesn't report any breaking changes so its backwards compatible with 2.
</pluginRepositories>

<profiles>
<profile>
<id>javamodules</id>
<!-- required for build/mock libraries to work on Java 17 -->
<activation>
<jdk>[17,)</jdk>
</activation>
<properties>
<module.build.config>
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
--add-opens java.base/java.util.stream=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.io=ALL-UNNAMED
--add-opens java.base/jdk.internal.loader=ALL-UNNAMED
--add-opens java.xml/jdk.xml.internal=ALL-UNNAMED
</module.build.config>
</properties>
</profile>
<profile>
<id>owasp-check</id>
<build>
Expand Down
Loading