Replace java -jar with picketed code block
This commit is contained in:
parent
b7a1f10e4c
commit
3cd4ae20df
@ -453,7 +453,9 @@ The [Spring Package maven plugin][spring-package-maven-plugin] collects all the
|
|||||||
|
|
||||||
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
|
```sh
|
||||||
|
$ mvn package
|
||||||
|
```
|
||||||
|
|
||||||
[spring-package-maven-plugin]: https://github.com/SpringSource/spring-zero/tree/master/spring-package-maven-plugin
|
[spring-package-maven-plugin]: https://github.com/SpringSource/spring-zero/tree/master/spring-package-maven-plugin
|
||||||
|
|
||||||
@ -463,8 +465,9 @@ Run the batch job
|
|||||||
-------------------
|
-------------------
|
||||||
Run your batch job with `java -jar` at the command line:
|
Run your batch job with `java -jar` at the command line:
|
||||||
|
|
||||||
java -jar target/gs-batch-processing-0.1.0.jar
|
```sh
|
||||||
|
$ java -jar target/gs-batch-processing-0.1.0.jar
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
The job prints out a line for each person that gets transformed. After the job runs, you can also see the output from querying the database.
|
The job prints out a line for each person that gets transformed. After the job runs, you can also see the output from querying the database.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user