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

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


The following commit(s) were added to refs/heads/master by this push:
     new 86dbd01f9c5 [FLINK-40665][ci] Use the Maven wrapper when deploying 
snapshot jars
86dbd01f9c5 is described below

commit 86dbd01f9c5e0044000b090b122af7ad102ab1c3
Author: Martijn Visser <[email protected]>
AuthorDate: Tue Sep 15 10:59:58 2026 +0200

    [FLINK-40665][ci] Use the Maven wrapper when deploying snapshot jars
    
    - deploy_staging_jars.sh starts with MVN=${MVN:-mvn} and this job never set 
MVN, so the deploy ran with the 3.8.6 on the container PATH while the enforcer 
requires 3.9.16 since FLINK-40459
    - Export the wrapper rather than run_mvn, since this job assembles 
CUSTOM_OPTIONS from MVN_GLOBAL_OPTIONS_WITHOUT_MIRROR and supplies its own 
settings file
    
    Generated-by: Claude Code (Claude Opus 5)
---
 tools/azure-pipelines/build-nightly-dist.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/azure-pipelines/build-nightly-dist.yml 
b/tools/azure-pipelines/build-nightly-dist.yml
index b006d54f232..ae54a7d5844 100644
--- a/tools/azure-pipelines/build-nightly-dist.yml
+++ b/tools/azure-pipelines/build-nightly-dist.yml
@@ -105,6 +105,9 @@ jobs:
           script: |
             source ./tools/ci/maven-utils.sh
             run_mvn -version
+            # deploy_staging_jars.sh otherwise falls back to the mvn on PATH. 
Not run_mvn,
+            # since this job builds its own settings file below.
+            export MVN="$MAVEN_WRAPPER"
 
             cd tools
             cat << EOF > deploy-settings.xml

Reply via email to