From 2d193ec7cb2cdf3f7a92f52a69800149319d51ea Mon Sep 17 00:00:00 2001 From: jqyt Date: Thu, 3 Apr 2025 01:21:31 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20lib/installer.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/installer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/installer.js b/lib/installer.js index 74aa9ce..45bd688 100644 --- a/lib/installer.js +++ b/lib/installer.js @@ -68,7 +68,8 @@ exports.getMaven = getMaven; function downloadMaven(version) { return __awaiter(this, void 0, void 0, function* () { const toolDirectoryName = `apache-maven-${version}`; - const downloadUrl = `https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/${version}/apache-maven-${version}-bin.tar.gz`; + const downloadUrl = `https://mirrors.huaweicloud.com/apache/maven/maven-3/${version}/binaries/apache-maven-${version}-bin.zip`; + console.log(`downloading ${downloadUrl}`); try { const downloadPath = yield tc.downloadTool(downloadUrl);