diff options
author | Sean Owen <srowen@gmail.com> | 2014-08-07 00:04:18 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-08-07 00:04:18 -0700 |
commit | 75993a65173172da32bbe98751e8c0f55c17a52e (patch) | |
tree | 03c6b62c82e1f3a3d48cd7b693da9ec0cb677d6c | |
parent | 47ccd5e71be49b723476f3ff8d5768f0f45c2ea6 (diff) | |
download | spark-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.)
-rw-r--r-- | pom.xml | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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> |