diff --git a/README.md b/README.md index b4399d1e37..445436b745 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ In a project directory of your choosing, create the following subdirectory struc 4.0.0 org.springframework - gs-batch-processing-complete + gs-batch-processing 0.1.0 @@ -451,8 +451,8 @@ Add the following configuration to your existing Maven POM: - org.apache.maven.plugins - maven-shade-plugin + org.springframework.zero + spring-package-maven-plugin @@ -460,13 +460,13 @@ Add the following configuration to your existing Maven POM: 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`. -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. +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. Now run the following to produce a single executable JAR file containing all necessary dependency classes and resources: mvn package -[maven-shade-plugin]: https://maven.apache.org/plugins/maven-shade-plugin +[spring-package-maven-plugin]: https://github.com/SpringSource/spring-zero/tree/master/spring-package-maven-plugin > **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. diff --git a/complete/pom.xml b/complete/pom.xml index c5b5d7dcac..4a9b790a3a 100644 --- a/complete/pom.xml +++ b/complete/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework - gs-batch-processing-complete + gs-batch-processing 0.1.0 diff --git a/initial/pom.xml b/initial/pom.xml index 01fe2eee82..f53d907053 100644 --- a/initial/pom.xml +++ b/initial/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework - gs-batch-processing-initial + gs-batch-processing 0.1.0