Skip to content
Snippets Groups Projects
Commit 5e64dab8 authored by Prajwal Tuladhar's avatar Prajwal Tuladhar Committed by Sean Owen
Browse files

[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.
parent 24015199
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment