Skip to content

Commit abf6714

Browse files
srowenpwendell
authored andcommitted
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 <[email protected]> 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
1 parent 646e554 commit abf6714

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@
132132
<repository>
133133
<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 -->
134134
<name>Maven Repository</name>
135-
<url>https://repo.maven.apache.org/maven2</url>
135+
<!-- HTTPS is unavailable for Maven Central -->
136+
<url>http://repo.maven.apache.org/maven2</url>
136137
<releases>
137138
<enabled>true</enabled>
138139
</releases>

project/SparkBuild.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ object SparkBuild extends Build {
182182
concurrentRestrictions in Global += Tags.limit(Tags.Test, 1),
183183

184184
resolvers ++= Seq(
185-
"Maven Repository" at "https://repo.maven.apache.org/maven2",
185+
// HTTPS is unavailable for Maven Central
186+
"Maven Repository" at "http://repo.maven.apache.org/maven2",
186187
"Apache Repository" at "https://repository.apache.org/content/repositories/releases",
187188
"JBoss Repository" at "https://repository.jboss.org/nexus/content/repositories/releases/",
188189
"MQTT Repository" at "https://repo.eclipse.org/content/repositories/paho-releases/",

0 commit comments

Comments
 (0)