aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2016-04-08 11:26:28 -0700
committerJosh Rosen <joshrosen@databricks.com>2016-04-08 11:26:28 -0700
commit94ac58b2a8ae83be670169062c8b83bf10e41d74 (patch)
treeba43dfceaa5de9644b6ad153de96048d6429c5d6
parente0ad75f2b55772efc82a6f8ebb1b2d80fe27d9b5 (diff)
downloadspark-94ac58b2a8ae83be670169062c8b83bf10e41d74.tar.gz
spark-94ac58b2a8ae83be670169062c8b83bf10e41d74.tar.bz2
spark-94ac58b2a8ae83be670169062c8b83bf10e41d74.zip
[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. Author: Josh Rosen <joshrosen@databricks.com> Closes #12262 from JoshRosen/fix-mvn-download.
-rwxr-xr-xbuild/mvn2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/mvn b/build/mvn
index 54b815d2b8..eb42552fc4 100755
--- a/build/mvn
+++ b/build/mvn
@@ -70,7 +70,7 @@ install_app() {
# Install maven under the build/ folder
install_mvn() {
local MVN_VERSION="3.3.9"
- local APACHE_MIRROR=${APACHE_MIRROR:-https://archive.apache.org/dist}
+ local APACHE_MIRROR=${APACHE_MIRROR:-'https://www.apache.org/dyn/closer.lua?action=download&filename='}
install_app \
"${APACHE_MIRROR}/maven/maven-3/${MVN_VERSION}/binaries" \