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

SteNicholas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new 3e2820c66a [CELEBORN-2419] Fix the warning: deprecated 
systemProperties parameter in maven-surefire-plugin
3e2820c66a is described below

commit 3e2820c66a3f1da036d3f51ca5b72ce50417707c
Author: yew1eb <[email protected]>
AuthorDate: Tue Aug 11 19:33:11 2026 +0800

    [CELEBORN-2419] Fix the warning: deprecated systemProperties parameter in 
maven-surefire-plugin
    
    ### What changes were proposed in this pull request?
    
    Replace deprecated `<systemProperties>` with `<systemPropertyVariables>` in 
maven-surefire-plugin configuration in root `pom.xml`.
    
    ### Why are the changes needed?
    
    Maven Surefire Plugin 3.0.0-M5+ deprecated the `<systemProperties>` 
parameter. Using it produces a warning on every build:
    ```
    [INFO] --- surefire:3.0.0-M7:test (default-test)  celeborn-client_2.12 ---
    [WARNING]  Parameter 'systemProperties' is deprecated: Use 
systemPropertyVariables instead.
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- surefire:3.0.0-M7:test (test)  celeborn-client_2.12 ---
    [WARNING]  Parameter 'systemProperties' is deprecated: Use 
systemPropertyVariables instead.
    [INFO] Tests are skipped.
    
    ```
    
    ### Does this PR resolve a correctness bug?
    
    - [ ] Yes
    
    ### Does this PR introduce _any_ user-facing change?
    
    - [ ] Yes
    
    ### How was this patch tested?
    
    Closes #3797 from yew1eb/CELEBORN-2419.
    
    Authored-by: yew1eb <[email protected]>
    Signed-off-by: Nicholas Jiang <[email protected]>
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 147f066509..ef29339398 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1047,14 +1047,14 @@
             </includes>
             
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
             <argLine>${argLine} -ea -Xmx4g -Xss4m -XX:MaxMetaspaceSize=2g 
-XX:ReservedCodeCacheSize=128m ${extraJavaTestArgs}</argLine>
-            <systemProperties>
+            <systemPropertyVariables>
               
<log4j.configuration>file:src/test/resources/log4j.properties</log4j.configuration>
               
<log4j2.configurationFile>src/test/resources/log4j2-test.xml</log4j2.configurationFile>
               <java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir>
               <spark.driver.memory>8g</spark.driver.memory>
               
<spark.shuffle.sort.io.plugin.class>${spark.shuffle.plugin.class}</spark.shuffle.sort.io.plugin.class>
               <spark.ui.enabled>false</spark.ui.enabled>
-            </systemProperties>
+            </systemPropertyVariables>
             <environmentVariables>
               <CELEBORN_LOCAL_HOSTNAME>localhost</CELEBORN_LOCAL_HOSTNAME>
               <FLINK_VERSION>${flink.version}</FLINK_VERSION>

Reply via email to