Skip to content

Commit

Permalink
Fix argLine
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Dec 2, 2024
1 parent 2f6b50b commit e5711e1
Showing 1 changed file with 5 additions and 27 deletions.
32 changes: 5 additions & 27 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
<argline>-server -Xms256m -Xmx512m -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=128m -Dfile.encoding=UTF-8
-Djava.net.preferIPv4Stack=true</argline>
<arguments />
<jacocoArgLine />
<profile.name>oss</profile.name>
<updateReleaseInfo>true</updateReleaseInfo>
<skip_maven_deploy>false</skip_maven_deploy>
Expand Down Expand Up @@ -346,9 +345,6 @@
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<propertyName>jacocoArgLine</propertyName>
</configuration>
</execution>
<execution>
<id>report-aggregate</id>
Expand All @@ -373,7 +369,6 @@
<configuration>
<useSystemClassLoader>true</useSystemClassLoader>
<forkCount>1</forkCount>
<argLine>${argline} ${jacocoArgLine}</argLine>
<systemProperties>
<!-- common shared -->
</systemProperties>
Expand Down Expand Up @@ -794,27 +789,11 @@
<activation>
<jdk>[15,</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useSystemClassLoader>true</useSystemClassLoader>
<forkCount>1</forkCount>
<argLine>${argline} ${jacocoArgLine}
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.math=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED</argLine>
<systemProperties>
<!-- common shared -->
</systemProperties>
<!-- Activate the use of TCP to transmit events to the plugin to fix Corrupted STDOUT issue -->
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" />
</configuration>
</plugin>
</plugins>
</build>
<properties>
<argLine>--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.math=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED</argLine>
</properties>
</profile>
<profile>
<id>jdk15ge-simple</id>
Expand All @@ -826,7 +805,6 @@
<configuration>
<useSystemClassLoader>true</useSystemClassLoader>
<forkCount>1</forkCount>
<argLine>${argline} ${jacocoArgLine}</argLine>
<systemProperties>
<!-- common shared -->
</systemProperties>
Expand Down

0 comments on commit e5711e1

Please sign in to comment.