Преглед изворни кода

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
 <#assign project_id="gs-rest-service">
1
 <#assign project_id="gs-rest-service">
2
 <#assign spring_version="3.2.4.RELEASE">
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
 This guide walks you through the process of creating a "hello world" [RESTful web service][u-rest] with Spring.
4
 This guide walks you through the process of creating a "hello world" [RESTful web service][u-rest] with Spring.
5
 
5
 
6
 What you'll build
6
 What you'll build

+ 4
- 4
README.md Прегледај датотеку

101
 }
101
 }
102
 
102
 
103
 dependencies {
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
     compile("com.fasterxml.jackson.core:jackson-databind")
105
     compile("com.fasterxml.jackson.core:jackson-databind")
106
     testCompile("junit:junit:4.11")
106
     testCompile("junit:junit:4.11")
107
 }
107
 }
259
         mavenLocal()
259
         mavenLocal()
260
     }
260
     }
261
     dependencies {
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
 [u-tomcat]: /understanding/Tomcat
345
 [u-tomcat]: /understanding/Tomcat
346
 [u-application-context]: /understanding/application-context
346
 [u-application-context]: /understanding/application-context
347
 [`@Controller`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/stereotype/Controller.html
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
 [`@Component`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/stereotype/Component.html
350
 [`@Component`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/stereotype/Component.html
351
 [`@ResponseBody`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/web/bind/annotation/ResponseBody.html
351
 [`@ResponseBody`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/web/bind/annotation/ResponseBody.html
352
 [`MappingJackson2HttpMessageConverter`]: http://static.springsource.org/spring/docs/3.2.4.RELEASE/javadoc-api/org/springframework/http/converter/json/MappingJackson2HttpMessageConverter.html
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
         mavenLocal()
4
         mavenLocal()
5
     }
5
     }
6
     dependencies {
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
 }
24
 }
25
 
25
 
26
 dependencies {
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
     compile("com.fasterxml.jackson.core:jackson-databind")
28
     compile("com.fasterxml.jackson.core:jackson-databind")
29
     testCompile("junit:junit:4.11")
29
     testCompile("junit:junit:4.11")
30
 }
30
 }

+ 1
- 1
complete/pom.xml Прегледај датотеку

10
     <parent>
10
     <parent>
11
         <groupId>org.springframework.boot</groupId>
11
         <groupId>org.springframework.boot</groupId>
12
         <artifactId>spring-boot-starter-parent</artifactId>
12
         <artifactId>spring-boot-starter-parent</artifactId>
13
-        <version>0.5.0.BUILD-SNAPSHOT</version>
13
+        <version>0.5.0.M2</version>
14
     </parent>
14
     </parent>
15
 
15
 
16
     <dependencies>
16
     <dependencies>

+ 1
- 1
initial/build.gradle Прегледај датотеку

20
 }
20
 }
21
 
21
 
22
 dependencies {
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
     compile("com.fasterxml.jackson.core:jackson-databind")
24
     compile("com.fasterxml.jackson.core:jackson-databind")
25
     testCompile("junit:junit:4.11")
25
     testCompile("junit:junit:4.11")
26
 }
26
 }

+ 1
- 1
initial/pom.xml Прегледај датотеку

10
     <parent>
10
     <parent>
11
         <groupId>org.springframework.boot</groupId>
11
         <groupId>org.springframework.boot</groupId>
12
         <artifactId>spring-boot-starter-parent</artifactId>
12
         <artifactId>spring-boot-starter-parent</artifactId>
13
-        <version>0.5.0.BUILD-SNAPSHOT</version>
13
+        <version>0.5.0.M2</version>
14
     </parent>
14
     </parent>
15
 
15
 
16
     <dependencies>
16
     <dependencies>