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

zuston pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/master by this push:
     new 1be25f86f [MINOR] chore: replace mvn with mvnw in 
publish_maven_artifacts.sh (#2079)
1be25f86f is described below

commit 1be25f86f710f7c4ed354799d07392e0d4b623dd
Author: xianjingfeng <xianjingfeng...@gmail.com>
AuthorDate: Thu Aug 22 19:39:47 2024 +0800

    [MINOR] chore: replace mvn with mvnw in publish_maven_artifacts.sh (#2079)
    
    ### What changes were proposed in this pull request?
    
    Replace mvn with mvnw in publish_maven_artifacts.sh
    
    ### Why are the changes needed?
    
    For consistency.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    CI
---
 release/publish_maven_artifacts.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/release/publish_maven_artifacts.sh 
b/release/publish_maven_artifacts.sh
index 322a4a90c..19d098707 100755
--- a/release/publish_maven_artifacts.sh
+++ b/release/publish_maven_artifacts.sh
@@ -26,21 +26,22 @@ ASF_PASSWORD=${ASF_PASSWORD:?"ASF_PASSWORD is required"}
 
 PROJECT_DIR="$(cd "$(dirname "$0")"/..; pwd)"
 cd $PROJECT_DIR
+MVN="./mvnw"
 
 upload_nexus_staging() {
   echo "Deploying rss-client-spark2-shaded"
-  mvn clean install -DskipTests -Papache-release,spark2 \
+  $MVN clean install -DskipTests -Papache-release,spark2 \
     -s "${PROJECT_DIR}/release/asf-settings.xml" \
     -pl :rss-client-spark2-shaded -Dmaven.javadoc.skip=true -am
-  mvn deploy -DskipTests -Papache-release,spark2 \
+  $MVN deploy -DskipTests -Papache-release,spark2 \
     -s "${PROJECT_DIR}/release/asf-settings.xml" \
     -pl :rss-client-spark2-shaded -Dmaven.javadoc.skip=true
 
   echo "Deploying rss-client-spark3-shaded"
-  mvn clean install -DskipTests -Papache-release,spark3 \
+  $MVN clean install -DskipTests -Papache-release,spark3 \
     -s "${PROJECT_DIR}/release/asf-settings.xml" \
     -pl :rss-client-spark3-shaded -Dmaven.javadoc.skip=true -am
-  mvn deploy -DskipTests -Papache-release,spark3 \
+  $MVN deploy -DskipTests -Papache-release,spark3 \
     -s "${PROJECT_DIR}/release/asf-settings.xml" \
     -pl :rss-client-spark3-shaded -Dmaven.javadoc.skip=true
 }

Reply via email to