This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
The following commit(s) were added to refs/heads/master by this push:
new f1b3e680 Fix release publish scripts: use dlcdn.apache.org and remove
stray popd
f1b3e680 is described below
commit f1b3e68005e00a44ca78758908de10620a8efb6e
Author: Guillaume Nodet <[email protected]>
AuthorDate: Tue Mar 17 18:49:16 2026 +0100
Fix release publish scripts: use dlcdn.apache.org and remove stray popd
The SDKMAN vendor API cannot resolve downloads.apache.org URLs,
returning HTTP 400. Switch to dlcdn.apache.org which works.
Also remove a stray popd in release-publish.sh that had no matching pushd.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
build/publish-on-sdkman.sh | 4 ++--
build/release-publish.sh | 4 +---
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/build/publish-on-sdkman.sh b/build/publish-on-sdkman.sh
index 271a9f45..7d96e9ff 100755
--- a/build/publish-on-sdkman.sh
+++ b/build/publish-on-sdkman.sh
@@ -38,7 +38,7 @@ function publishRelease() {
MVND_PLATFORM=$3
FILE="maven-mvnd-${VERSION}-${MVND_PLATFORM}.zip"
- URL="https://downloads.apache.org/maven/mvnd/${VERSION}/${FILE}"
+ URL="https://dlcdn.apache.org/maven/mvnd/${VERSION}/${FILE}"
RESPONSE="$(curl -s -X POST \
-H "Consumer-Key: ${SDKMAN_CONSUMER_KEY}" \
-H "Consumer-Token: ${SDKMAN_CONSUMER_TOKEN}" \
@@ -84,7 +84,7 @@ publishRelease ${VERSION} WINDOWS_64 windows-amd64
# }
# " "${RESPONSE}"
-RELEASE_URL="https://downloads.apache.org/maven/mvnd/${VERSION}"
+RELEASE_URL="https://dlcdn.apache.org/maven/mvnd/${VERSION}"
echo "RELEASE_URL = $RELEASE_URL"
RESPONSE="$(curl -s -X POST \
diff --git a/build/release-publish.sh b/build/release-publish.sh
index 9cf7b677..304d05d9 100755
--- a/build/release-publish.sh
+++ b/build/release-publish.sh
@@ -33,6 +33,4 @@ svn move -m "Release Apache Maven Daemon ${VERSION}" \
./build/publish-on-sdkman.sh ${VERSION}
# TODO: publish on macports
# TODO: publish on chocolatey
-# TODO: publish on scoop
-
-popd
\ No newline at end of file
+# TODO: publish on scoop
\ No newline at end of file