瀏覽代碼

Upgrade to Spring Boot 0.5.0.M2

Greg Turnquist 13 年之前
父節點
當前提交
f45d047652
共有 6 個檔案被更改,包括 10 行新增10 行删除
  1. 1
    1
      README.ftl.md
  2. 4
    4
      README.md
  3. 2
    2
      complete/build.gradle
  4. 1
    1
      complete/pom.xml
  5. 1
    1
      initial/build.gradle
  6. 1
    1
      initial/pom.xml

+ 1
- 1
README.ftl.md 查看文件

@@ -1,6 +1,6 @@
1 1
 <#assign project_id="gs-rest-service">
2 2
 <#assign spring_version="3.2.4.RELEASE">
3
-<#assign spring_boot_version="0.5.0.BUILD-SNAPSHOT">
3
+<#assign spring_boot_version="0.5.0.M2">
4 4
 This guide walks you through the process of creating a "hello world" [RESTful web service][u-rest] with Spring.
5 5
 
6 6
 What you'll build

+ 4
- 4
README.md 查看文件

@@ -101,7 +101,7 @@ repositories {
101 101
 }
102 102
 
103 103
 dependencies {
104
-    compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT")
104
+    compile("org.springframework.boot:spring-boot-starter-web:0.5.0.M2")
105 105
     compile("com.fasterxml.jackson.core:jackson-databind")
106 106
     testCompile("junit:junit:4.11")
107 107
 }
@@ -259,7 +259,7 @@ buildscript {
259 259
         mavenLocal()
260 260
     }
261 261
     dependencies {
262
-        classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT")
262
+        classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.M2")
263 263
     }
264 264
 }
265 265
 ```
@@ -345,8 +345,8 @@ Congratulations! You've just developed a RESTful web service with Spring.
345 345
 [u-tomcat]: /understanding/Tomcat
346 346
 [u-application-context]: /understanding/application-context
347 347
 [`@Controller`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/stereotype/Controller.html
348
-[`SpringApplication`]: http://static.springsource.org/spring-bootstrap/docs/0.5.0.BUILD-SNAPSHOT/javadoc-api/org/springframework/bootstrap/SpringApplication.html
349
-[`@EnableAutoConfiguration`]: http://static.springsource.org/spring-bootstrap/docs/0.5.0.BUILD-SNAPSHOT/javadoc-api/org/springframework/bootstrap/context/annotation/SpringApplication.html
348
+[`SpringApplication`]: http://static.springsource.org/spring-bootstrap/docs/0.5.0.M2/javadoc-api/org/springframework/bootstrap/SpringApplication.html
349
+[`@EnableAutoConfiguration`]: http://static.springsource.org/spring-bootstrap/docs/0.5.0.M2/javadoc-api/org/springframework/bootstrap/context/annotation/SpringApplication.html
350 350
 [`@Component`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/stereotype/Component.html
351 351
 [`@ResponseBody`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/web/bind/annotation/ResponseBody.html
352 352
 [`MappingJackson2HttpMessageConverter`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/http/converter/json/MappingJackson2HttpMessageConverter.html

+ 2
- 2
complete/build.gradle 查看文件

@@ -4,7 +4,7 @@ buildscript {
4 4
         mavenLocal()
5 5
     }
6 6
     dependencies {
7
-        classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT")
7
+        classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.M2")
8 8
     }
9 9
 }
10 10
 
@@ -24,7 +24,7 @@ repositories {
24 24
 }
25 25
 
26 26
 dependencies {
27
-    compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT")
27
+    compile("org.springframework.boot:spring-boot-starter-web:0.5.0.M2")
28 28
     compile("com.fasterxml.jackson.core:jackson-databind")
29 29
     testCompile("junit:junit:4.11")
30 30
 }

+ 1
- 1
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>0.5.0.BUILD-SNAPSHOT</version>
13
+        <version>0.5.0.M2</version>
14 14
     </parent>
15 15
 
16 16
     <dependencies>

+ 1
- 1
initial/build.gradle 查看文件

@@ -20,7 +20,7 @@ repositories {
20 20
 }
21 21
 
22 22
 dependencies {
23
-    compile("org.springframework.boot:spring-boot-starter-web:0.5.0.BUILD-SNAPSHOT")
23
+    compile("org.springframework.boot:spring-boot-starter-web:0.5.0.M2")
24 24
     compile("com.fasterxml.jackson.core:jackson-databind")
25 25
     testCompile("junit:junit:4.11")
26 26
 }

+ 1
- 1
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>0.5.0.BUILD-SNAPSHOT</version>
13
+        <version>0.5.0.M2</version>
14 14
     </parent>
15 15
 
16 16
     <dependencies>