diff --git a/spring-boot-samples/spring-boot-sample-actuator/build.gradle b/spring-boot-samples/spring-boot-sample-actuator/build.gradle
index 1ea60f13ec..a80348ec7b 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 dc5a06c65a..0e3da0eefc 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 864f970126..72631b8ba8 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 a2c77e13dc..f7fcf3c704 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 805bc3c098..cb44ff52df 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 9f8b29d3ef..316ed4b038 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 {