This is an automated email from the ASF dual-hosted git repository.

terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 30516de3e73 Fix JaCoCo coverage collection with late argLine 
evaluation (#40118)
30516de3e73 is described below

commit 30516de3e738b7152a371fab8e9ed03e79e1a7bb
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Oct 9 23:53:25 2026 +0800

    Fix JaCoCo coverage collection with late argLine evaluation (#40118)
---
 pom.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index 65d17ed33ba..816efd76d69 100644
--- a/pom.xml
+++ b/pom.xml
@@ -842,7 +842,7 @@
                     <version>${maven-surefire-plugin.version}</version>
                     <configuration>
                         <trimStackTrace>false</trimStackTrace>
-                        <argLine>${argLine}</argLine>
+                        <argLine>@{argLine}</argLine>
                     </configuration>
                 </plugin>
                 <plugin>
@@ -1178,13 +1178,13 @@
                         <plugin>
                             <artifactId>maven-surefire-plugin</artifactId>
                             <configuration>
-                                <argLine>${argLine} --add-opens 
java.base/java.lang=ALL-UNNAMED --add-opens 
java.base/java.lang.reflect=ALL-UNNAMED --add-opens 
java.base/sun.net=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED 
-XX:+EnableDynamicAgentLoading</argLine>
+                                <argLine>@{argLine} --add-opens 
java.base/java.lang=ALL-UNNAMED --add-opens 
java.base/java.lang.reflect=ALL-UNNAMED --add-opens 
java.base/sun.net=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED 
-XX:+EnableDynamicAgentLoading</argLine>
                             </configuration>
                         </plugin>
                         <plugin>
                             <artifactId>maven-failsafe-plugin</artifactId>
                             <configuration>
-                                <argLine>${argLine} --add-opens 
java.base/java.lang=ALL-UNNAMED --add-opens 
java.base/java.lang.reflect=ALL-UNNAMED --add-opens 
java.base/sun.net=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED 
-XX:+EnableDynamicAgentLoading</argLine>
+                                <argLine>@{argLine} --add-opens 
java.base/java.lang=ALL-UNNAMED --add-opens 
java.base/java.lang.reflect=ALL-UNNAMED --add-opens 
java.base/sun.net=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED 
-XX:+EnableDynamicAgentLoading</argLine>
                             </configuration>
                         </plugin>
                     </plugins>
@@ -1519,13 +1519,13 @@
                         <plugin>
                             <artifactId>maven-surefire-plugin</artifactId>
                             <configuration>
-                                <argLine>${argLine} 
-XX:+EnableDynamicAgentLoading</argLine>
+                                <argLine>@{argLine} 
-XX:+EnableDynamicAgentLoading</argLine>
                             </configuration>
                         </plugin>
                         <plugin>
                             <artifactId>maven-failsafe-plugin</artifactId>
                             <configuration>
-                                <argLine>${argLine} 
-XX:+EnableDynamicAgentLoading</argLine>
+                                <argLine>@{argLine} 
-XX:+EnableDynamicAgentLoading</argLine>
                             </configuration>
                         </plugin>
                     </plugins>

Reply via email to