浏览代码

Upgrade to Spring Boot 1.1.0.RELEASE

Greg Turnquist 12 年前
父节点
当前提交
8e50a985bf
共有 5 个文件被更改,包括 21 次插入21 次删除
  1. 1
    1
      README.adoc
  2. 5
    3
      complete/build.gradle
  3. 5
    7
      complete/pom.xml
  4. 5
    3
      initial/build.gradle
  5. 5
    7
      initial/pom.xml

+ 1
- 1
README.adoc 查看文件

@@ -6,7 +6,7 @@ projects: [spring-framework]
6 6
 :toc:
7 7
 :project_id: gs-rest-service
8 8
 :spring_version: current
9
-:spring_boot_version: 1.0.2.RELEASE
9
+:spring_boot_version: 1.1.0.RELEASE
10 10
 :icons: font
11 11
 :source-highlighter: prettify
12 12
 

+ 5
- 3
complete/build.gradle 查看文件

@@ -1,10 +1,11 @@
1 1
 buildscript {
2 2
     repositories {
3
-        maven { url "http://repo.spring.io/libs-snapshot" }
3
+        maven { url "http://repo.spring.io/release" }
4 4
         mavenLocal()
5
+        mavenCentral()
5 6
     }
6 7
     dependencies {
7
-        classpath("org.springframework.boot:spring-boot-gradle-plugin:1.0.2.RELEASE")
8
+        classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.0.RELEASE")
8 9
     }
9 10
 }
10 11
 
@@ -19,8 +20,9 @@ jar {
19 20
 }
20 21
 
21 22
 repositories {
23
+    mavenLocal()
22 24
     mavenCentral()
23
-    maven { url "http://repo.spring.io/libs-snapshot" }
25
+    maven { url "http://repo.spring.io/release" }
24 26
 }
25 27
 
26 28
 dependencies {

+ 5
- 7
complete/pom.xml 查看文件

@@ -10,7 +10,7 @@
10 10
     <parent>
11 11
         <groupId>org.springframework.boot</groupId>
12 12
         <artifactId>spring-boot-starter-parent</artifactId>
13
-        <version>1.0.2.RELEASE</version>
13
+        <version>1.1.0.RELEASE</version>
14 14
     </parent>
15 15
 
16 16
     <dependencies>
@@ -43,16 +43,14 @@
43 43
 
44 44
     <repositories>
45 45
         <repository>
46
-            <id>spring-snapshots</id>
47
-            <url>http://repo.spring.io/libs-snapshot</url>
48
-            <snapshots><enabled>true</enabled></snapshots>
46
+            <id>spring-releases</id>
47
+            <url>http://repo.spring.io/release</url>
49 48
         </repository>
50 49
     </repositories>
51 50
     <pluginRepositories>
52 51
         <pluginRepository>
53
-            <id>spring-snapshots</id>
54
-            <url>http://repo.spring.io/libs-snapshot</url>
55
-            <snapshots><enabled>true</enabled></snapshots>
52
+            <id>spring-releases</id>
53
+            <url>http://repo.spring.io/release</url>
56 54
         </pluginRepository>
57 55
     </pluginRepositories>
58 56
 </project>

+ 5
- 3
initial/build.gradle 查看文件

@@ -1,10 +1,11 @@
1 1
 buildscript {
2 2
     repositories {
3
-        maven { url "http://repo.spring.io/libs-snapshot" }
3
+        maven { url "http://repo.spring.io/release" }
4 4
         mavenLocal()
5
+        mavenCentral()
5 6
     }
6 7
     dependencies {
7
-        classpath("org.springframework.boot:spring-boot-gradle-plugin:1.0.2.RELEASE")
8
+        classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.0.RELEASE")
8 9
     }
9 10
 }
10 11
 
@@ -19,8 +20,9 @@ jar {
19 20
 }
20 21
 
21 22
 repositories {
23
+    mavenLocal()
22 24
     mavenCentral()
23
-    maven { url "http://repo.spring.io/libs-snapshot" }
25
+    maven { url "http://repo.spring.io/release" }
24 26
 }
25 27
 
26 28
 dependencies {

+ 5
- 7
initial/pom.xml 查看文件

@@ -10,7 +10,7 @@
10 10
     <parent>
11 11
         <groupId>org.springframework.boot</groupId>
12 12
         <artifactId>spring-boot-starter-parent</artifactId>
13
-        <version>1.0.2.RELEASE</version>
13
+        <version>1.1.0.RELEASE</version>
14 14
     </parent>
15 15
 
16 16
     <dependencies>
@@ -43,16 +43,14 @@
43 43
 
44 44
     <repositories>
45 45
         <repository>
46
-            <id>spring-snapshots</id>
47
-            <url>http://repo.spring.io/libs-snapshot</url>
48
-            <snapshots><enabled>true</enabled></snapshots>
46
+            <id>spring-releases</id>
47
+            <url>http://repo.spring.io/release</url>
49 48
         </repository>
50 49
     </repositories>
51 50
     <pluginRepositories>
52 51
         <pluginRepository>
53
-            <id>spring-snapshots</id>
54
-            <url>http://repo.spring.io/libs-snapshot</url>
55
-            <snapshots><enabled>true</enabled></snapshots>
52
+            <id>spring-releases</id>
53
+            <url>http://repo.spring.io/release</url>
56 54
         </pluginRepository>
57 55
     </pluginRepositories>
58 56
 </project>