aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPrajwal Tuladhar <praj@infynyxx.com>2016-04-06 15:28:52 +0100
committerSean Owen <sowen@cloudera.com>2016-04-06 15:28:52 +0100
commit5e64dab868be1a0d415fb6d6dd3463e7171fdd1a (patch)
tree0bbed92a69ee9c63ef32ae3e51de84018872b05b /build
parent24015199f46b5934d3000960538539495e025acf (diff)
downloadspark-5e64dab868be1a0d415fb6d6dd3463e7171fdd1a.tar.gz
spark-5e64dab868be1a0d415fb6d6dd3463e7171fdd1a.tar.bz2
spark-5e64dab868be1a0d415fb6d6dd3463e7171fdd1a.zip
[SPARK-14430][BUILD] use https while downloading binaries from build/mvn
## What changes were proposed in this pull request? `./build/mvn` file was downloading binaries in non HTTPS mode. This PR tends to fix it. ## How was this patch tested? By running `./build/mvn clean package` locally Author: Prajwal Tuladhar <praj@infynyxx.com> Closes #12182 from infynyxx/mvn_use_https.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/mvn6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/mvn b/build/mvn
index 58058c04b8..41c0850ccb 100755
--- a/build/mvn
+++ b/build/mvn
@@ -72,7 +72,7 @@ install_mvn() {
local MVN_VERSION="3.3.9"
install_app \
- "http://archive.apache.org/dist/maven/maven-3/${MVN_VERSION}/binaries" \
+ "https://archive.apache.org/dist/maven/maven-3/${MVN_VERSION}/binaries" \
"apache-maven-${MVN_VERSION}-bin.tar.gz" \
"apache-maven-${MVN_VERSION}/bin/mvn"
@@ -84,7 +84,7 @@ install_zinc() {
local zinc_path="zinc-0.3.9/bin/zinc"
[ ! -f "${_DIR}/${zinc_path}" ] && ZINC_INSTALL_FLAG=1
install_app \
- "http://downloads.typesafe.com/zinc/0.3.9" \
+ "https://downloads.typesafe.com/zinc/0.3.9" \
"zinc-0.3.9.tgz" \
"${zinc_path}"
ZINC_BIN="${_DIR}/${zinc_path}"
@@ -100,7 +100,7 @@ install_scala() {
local scala_bin="${_DIR}/scala-${scala_version}/bin/scala"
install_app \
- "http://downloads.typesafe.com/scala/${scala_version}" \
+ "https://downloads.typesafe.com/scala/${scala_version}" \
"scala-${scala_version}.tgz" \
"scala-${scala_version}/bin/scala"