diff options
author | Sean Owen <sowen@cloudera.com> | 2014-03-23 10:57:01 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-03-23 10:57:01 -0700 |
commit | abf6714e27cf07a13819b35a4ca50ff9bb28b65c (patch) | |
tree | d88de822263f6e959fbfa80af5ee31a9a65b0c1a | |
parent | 646e55405b433fdedc9601dab91f99832b641f87 (diff) | |
download | spark-abf6714e27cf07a13819b35a4ca50ff9bb28b65c.tar.gz spark-abf6714e27cf07a13819b35a4ca50ff9bb28b65c.tar.bz2 spark-abf6714e27cf07a13819b35a4ca50ff9bb28b65c.zip |
SPARK-1254. Supplemental fix for HTTPS on Maven Central
It seems that HTTPS does not necessarily work on Maven Central, as it does not today at least. Back to HTTP. Both builds works from a clean repo.
Author: Sean Owen <sowen@cloudera.com>
Closes #209 from srowen/SPARK-1254Fix and squashes the following commits:
bb7be47 [Sean Owen] Revert to HTTP for Maven Central repo, as it seems HTTPS does not necessarily work
-rw-r--r-- | pom.xml | 3 | ||||
-rw-r--r-- | project/SparkBuild.scala | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -132,7 +132,8 @@ <repository> <id>maven-repo</id> <!-- This should be at top, it makes maven try the central repo first and then others and hence faster dep resolution --> <name>Maven Repository</name> - <url>https://repo.maven.apache.org/maven2</url> + <!-- HTTPS is unavailable for Maven Central --> + <url>http://repo.maven.apache.org/maven2</url> <releases> <enabled>true</enabled> </releases> diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index e4ad659125..b08fb26adf 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -182,7 +182,8 @@ object SparkBuild extends Build { concurrentRestrictions in Global += Tags.limit(Tags.Test, 1), resolvers ++= Seq( - "Maven Repository" at "https://repo.maven.apache.org/maven2", + // HTTPS is unavailable for Maven Central + "Maven Repository" at "http://repo.maven.apache.org/maven2", "Apache Repository" at "https://repository.apache.org/content/repositories/releases", "JBoss Repository" at "https://repository.jboss.org/nexus/content/repositories/releases/", "MQTT Repository" at "https://repo.eclipse.org/content/repositories/paho-releases/", |