From 435992f46cd858c39b2c45715b1367b3ef381dcb Mon Sep 17 00:00:00 2001 From: tech189 Date: Wed, 20 Jul 2022 12:00:24 +0100 Subject: [PATCH] (chore) mvndaemon: Move to official download URL Hashes were removed from GitHub releases - see https://github.com/apache/maven-mvnd/issues/666 Added official download location Restored autoupdate hash extraction --- bucket/mvndaemon.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bucket/mvndaemon.json b/bucket/mvndaemon.json index 40c4adf89b..bf15866d95 100644 --- a/bucket/mvndaemon.json +++ b/bucket/mvndaemon.json @@ -14,7 +14,7 @@ }, "architecture": { "64bit": { - "url": "https://github.com/mvndaemon/mvnd/releases/download/0.8.0/maven-mvnd-0.8.0-windows-amd64.zip", + "url": "https://dist.apache.org/repos/dist/release/maven/mvnd/0.8.0/maven-mvnd-0.8.0-windows-amd64.zip", "hash": "eda5d83085b2ddf3c31ba849c0f72a340e9ac5f4b3f002dce060b3fad7733a84", "extract_dir": "mvnd-0.8.0-windows-amd64" } @@ -24,7 +24,10 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/mvndaemon/mvnd/releases/download/$version/maven-mvnd-$version-windows-amd64.zip", + "url": "https://dist.apache.org/repos/dist/release/maven/mvnd/$version/maven-mvnd-$version-windows-amd64.zip", + "hash": { + "url": "$url.sha256" + }, "extract_dir": "mvnd-$version-windows-amd64" } }