From 5e64dab868be1a0d415fb6d6dd3463e7171fdd1a Mon Sep 17 00:00:00 2001 From: Prajwal Tuladhar Date: Wed, 6 Apr 2016 15:28:52 +0100 Subject: [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 Closes #12182 from infynyxx/mvn_use_https. --- build/mvn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build') 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" -- cgit v1.2.3