Skip to content

Commit d6cd6fd

Browse files
srowenpwendell
authored andcommitted
SPARK-2879 part 2 [BUILD] Use HTTPS to access Maven Central and other repos
.. and use canonical repo1.maven.org Maven Central repo. (And make sure snapshots are disabled for plugins from Maven Central.) Author: Sean Owen <srowen@gmail.com> Closes #1828 from srowen/SPARK-2879.2 and squashes the following commits: 639f495 [Sean Owen] .. and use canonical repo1.maven.org Maven Central repo. (And make sure snapshots are disabled for plugins from Maven Central.) (cherry picked from commit 75993a6) Signed-off-by: Patrick Wendell <pwendell@gmail.com>
1 parent c9f0944 commit d6cd6fd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@
145145
<id>central</id>
146146
<!-- This should be at top, it makes maven try the central repo first and then others and hence faster dep resolution -->
147147
<name>Maven Repository</name>
148-
<!-- HTTPS is unavailable for Maven Central -->
149-
<url>https://repo.maven.apache.org/maven2</url>
148+
<url>https://repo1.maven.org/maven2</url>
150149
<releases>
151150
<enabled>true</enabled>
152151
</releases>
@@ -228,6 +227,9 @@
228227
<releases>
229228
<enabled>true</enabled>
230229
</releases>
230+
<snapshots>
231+
<enabled>false</enabled>
232+
</snapshots>
231233
</pluginRepository>
232234
</pluginRepositories>
233235

0 commit comments

Comments
 (0)