aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorSean Owen <srowen@gmail.com>2014-08-07 00:04:18 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-08-07 00:04:18 -0700
commit75993a65173172da32bbe98751e8c0f55c17a52e (patch)
tree03c6b62c82e1f3a3d48cd7b693da9ec0cb677d6c /pom.xml
parent47ccd5e71be49b723476f3ff8d5768f0f45c2ea6 (diff)
downloadspark-75993a65173172da32bbe98751e8c0f55c17a52e.tar.gz
spark-75993a65173172da32bbe98751e8c0f55c17a52e.tar.bz2
spark-75993a65173172da32bbe98751e8c0f55c17a52e.zip
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.)
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 76bf6d8f90..920912353f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -146,8 +146,7 @@
<id>central</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>
- <!-- HTTPS is unavailable for Maven Central -->
- <url>https://repo.maven.apache.org/maven2</url>
+ <url>https://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
@@ -229,6 +228,9 @@
<releases>
<enabled>true</enabled>
</releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</pluginRepository>
</pluginRepositories>