Also added instructions for native compilation for those apps that it is useful Added documentation for native compilation when using Single Step Batch Processing Updated documentaiton for native compilation for single app processing
41 lines
542 B
Plaintext
41 lines
542 B
Plaintext
= Spring Batch Job Task
|
|
|
|
This is a Spring Cloud Task application that executes two simple Spring Batch Jobs.
|
|
|
|
== Requirements:
|
|
|
|
* Java 17 or Above
|
|
|
|
== Classes:
|
|
|
|
* BatchJobApplication - the Spring Boot Main Application
|
|
* JobConfiguration - the configuration for the Spring Batch jobs
|
|
|
|
== Build:
|
|
|
|
[source,shell]
|
|
----
|
|
mvn clean package
|
|
----
|
|
|
|
== Run:
|
|
|
|
[source,shell]
|
|
----
|
|
java -jar target/batch-job-3.0.0.jar
|
|
----
|
|
|
|
== Native Build:
|
|
|
|
[source,shell]
|
|
----
|
|
mvn -Pnative clean package
|
|
----
|
|
|
|
== Native Run:
|
|
|
|
[source,shell]
|
|
----
|
|
./target/batch-job
|
|
----
|