Skip to content

Commit 783d2eb

Browse files
JoshRosenzhangzc
authored andcommitted
[BUILD][HOTFIX] Download Maven from regular mirror network rather than archive.apache.org
[archive.apache.org](https://archive.apache.org/) is undergoing maintenance, breaking our `build/mvn` script: > We are in the process of relocating this service. To save on the immense bandwidth that this service outputs, we have put it in maintenance mode, disabling all downloads for the next few days. We expect the maintenance to be complete no later than the morning of Monday the 11th of April, 2016. This patch fixes this issue by updating the script to use the regular mirror network to download Maven. (This is a backport of apache#12262 to 1.6) Author: Josh Rosen <joshrosen@databricks.com> Closes apache#12307 from JoshRosen/fix-1.6-mvn-download. (cherry picked from commit f4110cd)
1 parent 272fbce commit 783d2eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/mvn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ install_mvn() {
7272
local MVN_VERSION="3.3.3"
7373

7474
install_app \
75-
"http://archive.apache.org/dist/maven/maven-3/${MVN_VERSION}/binaries" \
75+
"https://www.apache.org/dyn/closer.lua?action=download&filename=/maven/maven-3/${MVN_VERSION}/binaries" \
7676
"apache-maven-${MVN_VERSION}-bin.tar.gz" \
7777
"apache-maven-${MVN_VERSION}/bin/mvn"
7878

0 commit comments

Comments
 (0)