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:32 -0700 |
commit | d6cd6fd03b25c08582bc2d5a3654676154694ddf (patch) | |
tree | 8a52d418284663ad8e5c1e5e0e76130561dadb6c /pom.xml | |
parent | c9f09445878de462282b02855bda66072458bd5c (diff) | |
download | spark-d6cd6fd03b25c08582bc2d5a3654676154694ddf.tar.gz spark-d6cd6fd03b25c08582bc2d5a3654676154694ddf.tar.bz2 spark-d6cd6fd03b25c08582bc2d5a3654676154694ddf.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.)
(cherry picked from commit 75993a65173172da32bbe98751e8c0f55c17a52e)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -145,8 +145,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> @@ -228,6 +227,9 @@ <releases> <enabled>true</enabled> </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> </pluginRepository> </pluginRepositories> |