Skip to content

Commit

Permalink
build: update MAVEN_OPTS for enhanced module exports and opens (#7035)
Browse files Browse the repository at this point in the history
  • Loading branch information
pethers authored Jan 16, 2025
1 parent b1e087d commit 92d0836
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion citizen-intelligence-agency/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@

<target name="start" description="start" depends="init">
<exec executable="${maven.binary}" dir="../citizen-intelligence-agency/">
<env key="MAVEN_OPTS" value="-server -Xmx8192m -Xms2048m " />
<env key="MAVEN_OPTS"
value="-server -Xmx8192m -Xms2048m --add-exports java.base/sun.nio.ch=ALL-UNNAMED --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED" />
<arg
line="exec:java -Dexec.mainClass=com.hack23.cia.systemintegrationtest.CitizenIntelligenceAgencyServer -Dexec.classpathScope=test -Djava.awt.headless=true" />
</exec>
Expand Down
9 changes: 5 additions & 4 deletions parent-pom/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hack23.cia</groupId>
<artifactId>parent-pom</artifactId>
Expand Down Expand Up @@ -87,7 +89,7 @@
<cia.project.versions.commons.lang>2.6</cia.project.versions.commons.lang>
<cia.project.versions.commons.text>1.13.0</cia.project.versions.commons.text>
<cia.project.versions.commons.codec>1.17.2</cia.project.versions.commons.codec>
<cia.project.versions.bouncycastle>1.80</cia.project.versions.bouncycastle>
<cia.project.versions.bouncycastle>1.79</cia.project.versions.bouncycastle>
<cia.project.versions.slf4j>2.0.16</cia.project.versions.slf4j>
<cia.project.versions.aws.v2>2.30.0</cia.project.versions.aws.v2>
<cia.project.versions.logback>1.5.16</cia.project.versions.logback>
Expand Down Expand Up @@ -1313,7 +1315,6 @@
<target>${jdk.target.version}</target>
<parameters>true</parameters>
<debuglevel>lines,vars,source</debuglevel>
cd
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -1710,4 +1711,4 @@
</reporting>
</profile>
</profiles>
</project>
</project>

0 comments on commit 92d0836

Please sign in to comment.