瀏覽代碼

Strip out -complete and -initial from artifacts. Regenerate guides suitably.

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

+ 4
- 4
README.md 查看文件

@@ -260,8 +260,8 @@ Add the following configuration to your existing Maven POM:
260 260
     <build>
261 261
         <plugins>
262 262
             <plugin>
263
-                <groupId>org.apache.maven.plugins</groupId>
264
-                <artifactId>maven-shade-plugin</artifactId>
263
+                <groupId>org.springframework.zero</groupId>
264
+                <artifactId>spring-package-maven-plugin</artifactId>
265 265
             </plugin>
266 266
         </plugins>
267 267
     </build>
@@ -269,13 +269,13 @@ Add the following configuration to your existing Maven POM:
269 269
 
270 270
 The `start-class` property tells Maven to create a `META-INF/MANIFEST.MF` file with a `Main-Class: hello.Application` entry. This entry enables you to run the jar with `java -jar`.
271 271
 
272
-The [Maven Shade plugin][maven-shade-plugin] extracts classes from all jars on the classpath and builds a single "über-jar", which makes it more convenient to execute and transport your service.
272
+The [Spring Package maven plugin][spring-package-maven-plugin] collects all the jars on the classpath and builds a single "über-jar", which makes it more convenient to execute and transport your service.
273 273
 
274 274
 Now run the following to produce a single executable JAR file containing all necessary dependency classes and resources:
275 275
 
276 276
     mvn package
277 277
 
278
-[maven-shade-plugin]: https://maven.apache.org/plugins/maven-shade-plugin
278
+[spring-package-maven-plugin]: https://github.com/SpringSource/spring-zero/tree/master/spring-package-maven-plugin
279 279
 
280 280
 > **Note:** The procedure above will create a runnable JAR. You can also opt to [build a classic WAR file](/guides/gs/convert-jar-to-war/content) instead.
281 281
 

+ 1
- 1
complete/pom.xml 查看文件

@@ -4,7 +4,7 @@
4 4
     <modelVersion>4.0.0</modelVersion>
5 5
 
6 6
     <groupId>org.springframework</groupId>
7
-    <artifactId>gs-rest-service-complete</artifactId>
7
+    <artifactId>gs-rest-service</artifactId>
8 8
     <version>0.1.0</version>
9 9
 
10 10
     <parent>