Strip out -complete and -initial from artifacts. Regenerate guides suitably.
This commit is contained in:
parent
47556b8a91
commit
f3ff1f34a8
10
README.md
10
README.md
@ -59,7 +59,7 @@ In a project directory of your choosing, create the following subdirectory struc
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
<artifactId>gs-batch-processing-complete</artifactId>
|
<artifactId>gs-batch-processing</artifactId>
|
||||||
<version>0.1.0</version>
|
<version>0.1.0</version>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
@ -451,8 +451,8 @@ Add the following configuration to your existing Maven POM:
|
|||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.springframework.zero</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>spring-package-maven-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
@ -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 `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:
|
Now run the following to produce a single executable JAR file containing all necessary dependency classes and resources:
|
||||||
|
|
||||||
mvn package
|
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.
|
> **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.
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
<artifactId>gs-batch-processing-complete</artifactId>
|
<artifactId>gs-batch-processing</artifactId>
|
||||||
<version>0.1.0</version>
|
<version>0.1.0</version>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
<artifactId>gs-batch-processing-initial</artifactId>
|
<artifactId>gs-batch-processing</artifactId>
|
||||||
<version>0.1.0</version>
|
<version>0.1.0</version>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user