Pārlūkot izejas kodu

Convert spring-boot-up to spring-boot-starter

Greg Turnquist 13 gadus atpakaļ
vecāks
revīzija
0e365d0f7d
4 mainītis faili ar 11 papildinājumiem un 23 dzēšanām
  1. 2
    2
      README.ftl.md
  2. 4
    8
      README.md
  3. 3
    7
      complete/pom.xml
  4. 2
    6
      initial/pom.xml

+ 2
- 2
README.ftl.md Parādīt failu

@@ -125,7 +125,7 @@ Add this to your build file's list of dependencies:
125 125
 ```xml
126 126
         <dependency>
127 127
             <groupId>org.springframework.boot</groupId>
128
-            <artifactId>spring-boot-up-jetty</artifactId>
128
+            <artifactId>spring-boot-starter-jetty</artifactId>
129 129
         </dependency>
130 130
 ```
131 131
 
@@ -226,4 +226,4 @@ Congratulations!
226 226
 ----------------
227 227
 Spring Boot is powerful, but frankly too big to fit into a single guide. This is just a sampling.
228 228
 
229
-As you read more of this site's getting started guides, you will see it used all over the place. It might not be obvious at first, because Spring Boot is so good at adding the things you need without getting in your way. But after using it for a bit, you may wonder how you lived without it.
229
+As you read more of this site's getting started guides, you will see it used all over the place. It might not be obvious at first, because Spring Boot is so good at adding the things you need without getting in your way. But after using it for a bit, you may wonder how you lived without it.

+ 4
- 8
README.md Parādīt failu

@@ -64,18 +64,14 @@ In a project directory of your choosing, create the following subdirectory struc
64 64
 
65 65
     <parent>
66 66
         <groupId>org.springframework.boot</groupId>
67
-        <artifactId>spring-boot-up-parent</artifactId>
67
+        <artifactId>spring-boot-starter-parent</artifactId>
68 68
         <version>0.5.0.BUILD-SNAPSHOT</version>
69 69
     </parent>
70 70
 
71 71
     <dependencies>
72 72
         <dependency>
73 73
             <groupId>org.springframework.boot</groupId>
74
-            <artifactId>spring-boot-up-web</artifactId>
75
-        </dependency>
76
-        <dependency>
77
-            <groupId>com.fasterxml.jackson.core</groupId>
78
-            <artifactId>jackson-databind</artifactId>
74
+            <artifactId>spring-boot-starter-web</artifactId>
79 75
         </dependency>
80 76
     </dependencies>
81 77
 
@@ -257,7 +253,7 @@ Add this to your build file's list of dependencies:
257 253
 ```xml
258 254
         <dependency>
259 255
             <groupId>org.springframework.boot</groupId>
260
-            <artifactId>spring-boot-up-jetty</artifactId>
256
+            <artifactId>spring-boot-starter-jetty</artifactId>
261 257
         </dependency>
262 258
 ```
263 259
 
@@ -398,4 +394,4 @@ Congratulations!
398 394
 ----------------
399 395
 Spring Boot is powerful, but frankly too big to fit into a single guide. This is just a sampling.
400 396
 
401
-As you read more of this site's getting started guides, you will see it used all over the place. It might not be obvious at first, because Spring Boot is so good at adding the things you need without getting in your way. But after using it for a bit, you may wonder how you lived without it.
397
+As you read more of this site's getting started guides, you will see it used all over the place. It might not be obvious at first, because Spring Boot is so good at adding the things you need without getting in your way. But after using it for a bit, you may wonder how you lived without it.

+ 3
- 7
complete/pom.xml Parādīt failu

@@ -9,22 +9,18 @@
9 9
 
10 10
     <parent>
11 11
         <groupId>org.springframework.boot</groupId>
12
-        <artifactId>spring-boot-up-parent</artifactId>
12
+        <artifactId>spring-boot-starter-parent</artifactId>
13 13
         <version>0.5.0.BUILD-SNAPSHOT</version>
14 14
     </parent>
15 15
 
16 16
     <dependencies>
17 17
         <dependency>
18 18
             <groupId>org.springframework.boot</groupId>
19
-            <artifactId>spring-boot-up-web</artifactId>
19
+            <artifactId>spring-boot-starter-web</artifactId>
20 20
         </dependency>
21 21
         <dependency>
22 22
             <groupId>org.springframework.boot</groupId>
23
-            <artifactId>spring-boot-up-jetty</artifactId>
24
-        </dependency>
25
-        <dependency>
26
-            <groupId>com.fasterxml.jackson.core</groupId>
27
-            <artifactId>jackson-databind</artifactId>
23
+            <artifactId>spring-boot-starter-jetty</artifactId>
28 24
         </dependency>
29 25
     </dependencies>
30 26
 

+ 2
- 6
initial/pom.xml Parādīt failu

@@ -9,18 +9,14 @@
9 9
 
10 10
     <parent>
11 11
         <groupId>org.springframework.boot</groupId>
12
-        <artifactId>spring-boot-up-parent</artifactId>
12
+        <artifactId>spring-boot-starter-parent</artifactId>
13 13
         <version>0.5.0.BUILD-SNAPSHOT</version>
14 14
     </parent>
15 15
 
16 16
     <dependencies>
17 17
         <dependency>
18 18
             <groupId>org.springframework.boot</groupId>
19
-            <artifactId>spring-boot-up-web</artifactId>
20
-        </dependency>
21
-        <dependency>
22
-            <groupId>com.fasterxml.jackson.core</groupId>
23
-            <artifactId>jackson-databind</artifactId>
19
+            <artifactId>spring-boot-starter-web</artifactId>
24 20
         </dependency>
25 21
     </dependencies>
26 22