diff --git a/spring-boot-samples/spring-boot-sample-actuator/build.gradle b/spring-boot-samples/spring-boot-sample-actuator/build.gradle index 1ea60f13ec7..a80348ec7b2 100644 --- a/spring-boot-samples/spring-boot-sample-actuator/build.gradle +++ b/spring-boot-samples/spring-boot-sample-actuator/build.gradle @@ -3,8 +3,12 @@ buildscript { springBootVersion = '1.0.0.BUILD-SNAPSHOT' } repositories { + // NOTE: You should declare only repositories that you need here mavenLocal() - maven { url "http://repo.spring.io/libs-snapshot" } + mavenCentral() + maven { url "http://repo.spring.io/release" } + maven { url "http://repo.spring.io/milestone" } + maven { url "http://repo.spring.io/snapshot" } } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") @@ -22,9 +26,12 @@ jar { } repositories { + // NOTE: You should declare only repositories that you need here mavenLocal() mavenCentral() - maven { url "http://repo.spring.io/libs-snapshot" } + maven { url "http://repo.spring.io/release" } + maven { url "http://repo.spring.io/milestone" } + maven { url "http://repo.spring.io/snapshot" } } dependencies { diff --git a/spring-boot-samples/spring-boot-sample-actuator/ivy.xml b/spring-boot-samples/spring-boot-sample-actuator/ivy.xml index dc5a06c65ad..0e3da0eefc5 100644 --- a/spring-boot-samples/spring-boot-sample-actuator/ivy.xml +++ b/spring-boot-samples/spring-boot-sample-actuator/ivy.xml @@ -1,13 +1,13 @@ - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + diff --git a/spring-boot-samples/spring-boot-sample-actuator/ivysettings.xml b/spring-boot-samples/spring-boot-sample-actuator/ivysettings.xml index 864f9701262..72631b8ba83 100644 --- a/spring-boot-samples/spring-boot-sample-actuator/ivysettings.xml +++ b/spring-boot-samples/spring-boot-sample-actuator/ivysettings.xml @@ -1,16 +1,16 @@ - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + diff --git a/spring-boot-samples/spring-boot-sample-simple/build.gradle b/spring-boot-samples/spring-boot-sample-simple/build.gradle index a2c77e13dc8..f7fcf3c7041 100644 --- a/spring-boot-samples/spring-boot-sample-simple/build.gradle +++ b/spring-boot-samples/spring-boot-sample-simple/build.gradle @@ -3,8 +3,12 @@ buildscript { springBootVersion = '1.0.0.BUILD-SNAPSHOT' } repositories { + // NOTE: You should declare only repositories that you need here mavenLocal() - maven { url "http://repo.spring.io/libs-snapshot" } + mavenCentral() + maven { url "http://repo.spring.io/release" } + maven { url "http://repo.spring.io/milestone" } + maven { url "http://repo.spring.io/snapshot" } } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") @@ -22,9 +26,12 @@ jar { } repositories { + // NOTE: You should declare only repositories that you need here mavenLocal() mavenCentral() - maven { url "http://repo.spring.io/libs-snapshot" } + maven { url "http://repo.spring.io/release" } + maven { url "http://repo.spring.io/milestone" } + maven { url "http://repo.spring.io/snapshot" } } dependencies { diff --git a/spring-boot-samples/spring-boot-sample-web-static/build.gradle b/spring-boot-samples/spring-boot-sample-web-static/build.gradle index 805bc3c0982..cb44ff52df2 100644 --- a/spring-boot-samples/spring-boot-sample-web-static/build.gradle +++ b/spring-boot-samples/spring-boot-sample-web-static/build.gradle @@ -3,8 +3,12 @@ buildscript { springBootVersion = '1.0.0.BUILD-SNAPSHOT' } repositories { + // NOTE: You should declare only repositories that you need here mavenLocal() - maven { url "http://repo.spring.io/libs-snapshot" } + mavenCentral() + maven { url "http://repo.spring.io/release" } + maven { url "http://repo.spring.io/milestone" } + maven { url "http://repo.spring.io/snapshot" } } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") @@ -26,8 +30,12 @@ war { } repositories { + // NOTE: You should declare only repositories that you need here + mavenLocal() mavenCentral() - maven { url "http://repo.spring.io/libs-snapshot" } + maven { url "http://repo.spring.io/release" } + maven { url "http://repo.spring.io/milestone" } + maven { url "http://repo.spring.io/snapshot" } } configurations { diff --git a/spring-boot-samples/spring-boot-sample-web-ui/build.gradle b/spring-boot-samples/spring-boot-sample-web-ui/build.gradle index 9f8b29d3ef2..316ed4b0388 100644 --- a/spring-boot-samples/spring-boot-sample-web-ui/build.gradle +++ b/spring-boot-samples/spring-boot-sample-web-ui/build.gradle @@ -4,8 +4,12 @@ buildscript { springLoadedVersion = '1.1.5.RELEASE' } repositories { + // NOTE: You should declare only repositories that you need here mavenLocal() - maven { url "http://repo.spring.io/libs-snapshot" } + mavenCentral() + maven { url "http://repo.spring.io/release" } + maven { url "http://repo.spring.io/milestone" } + maven { url "http://repo.spring.io/snapshot" } } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") @@ -27,8 +31,12 @@ jar { } repositories { + // NOTE: You should declare only repositories that you need here + mavenLocal() mavenCentral() - maven { url "http://repo.spring.io/libs-snapshot" } + maven { url "http://repo.spring.io/release" } + maven { url "http://repo.spring.io/milestone" } + maven { url "http://repo.spring.io/snapshot" } } dependencies {