Skip to content

Commit 75993a6

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 <[email protected]> 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.)
1 parent 47ccd5e commit 75993a6

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
@@ -146,8 +146,7 @@
146146
<id>central</id>
147147
<!-- This should be at top, it makes maven try the central repo first and then others and hence faster dep resolution -->
148148
<name>Maven Repository</name>
149-
<!-- HTTPS is unavailable for Maven Central -->
150-
<url>https://repo.maven.apache.org/maven2</url>
149+
<url>https://repo1.maven.org/maven2</url>
151150
<releases>
152151
<enabled>true</enabled>
153152
</releases>
@@ -229,6 +228,9 @@
229228
<releases>
230229
<enabled>true</enabled>
231230
</releases>
231+
<snapshots>
232+
<enabled>false</enabled>
233+
</snapshots>
232234
</pluginRepository>
233235
</pluginRepositories>
234236

0 commit comments

Comments
 (0)