change url to archive mirror

This commit is contained in:
stCarolas
2020-02-03 13:46:22 +03:00
parent fbb2b0cc60
commit 66602c7280
690 changed files with 1017813 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ exports.getMaven = getMaven;
function downloadMaven(version) {
return __awaiter(this, void 0, void 0, function* () {
const toolDirectoryName = `apache-maven-${version}`;
const downloadUrl = `https://www-eu.apache.org/dist/maven/maven-3/${version}/binaries/${toolDirectoryName}-bin.tar.gz`;
const downloadUrl = `https://archive.apache.org/dist/maven/maven-3/${version}/binaries/${toolDirectoryName}-bin.tar.gz`;
console.log(`downloading ${downloadUrl}`);
try {
const downloadPath = yield tc.downloadTool(downloadUrl);