This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch test/codecov
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/test/codecov by this push:
new e5711e105a Fix argLine
e5711e105a is described below
commit e5711e105a5affd897f2abf4a66d3eee867fb282
Author: Albumen Kevin <[email protected]>
AuthorDate: Mon Dec 2 21:07:17 2024 +0800
Fix argLine
---
pom.xml | 32 +++++---------------------------
1 file changed, 5 insertions(+), 27 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5bfa69af78..960902e45a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>
@@ -346,9 +345,6 @@
<goals>
<goal>prepare-agent</goal>
</goals>
- <configuration>
- <propertyName>jacocoArgLine</propertyName>
- </configuration>
</execution>
<execution>
<id>report-aggregate</id>
@@ -373,7 +369,6 @@
<configuration>
<useSystemClassLoader>true</useSystemClassLoader>
<forkCount>1</forkCount>
- <argLine>${argline} ${jacocoArgLine}</argLine>
<systemProperties>
<!-- common shared -->
</systemProperties>
@@ -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>
@@ -826,7 +805,6 @@
<configuration>
<useSystemClassLoader>true</useSystemClassLoader>
<forkCount>1</forkCount>
- <argLine>${argline} ${jacocoArgLine}</argLine>
<systemProperties>
<!-- common shared -->
</systemProperties>