Skip to content

Commit

Permalink
Use HTTPS for Maven Central libs and plugins; use id 'central' to ove…
Browse files Browse the repository at this point in the history
…rride parent properly; use HTTPS for Spring repo
  • Loading branch information
srowen committed Aug 6, 2014
1 parent 09f7e45 commit 7043a8e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@

<repositories>
<repository>
<id>maven-repo</id>
<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>http://repo.maven.apache.org/maven2</url>
<url>https://repo.maven.apache.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
Expand Down Expand Up @@ -213,7 +213,7 @@
<repository>
<id>spring-releases</id>
<name>Spring Release Repository</name>
<url>http://repo.spring.io/libs-release</url>
<url>https://repo.spring.io/libs-release</url>
<releases>
<enabled>true</enabled>
</releases>
Expand All @@ -222,6 +222,15 @@
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>

<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit 7043a8e

Please sign in to comment.