41 lines
543 B
Plaintext
41 lines
543 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 native:compile
|
|
----
|
|
|
|
== Native Run:
|
|
|
|
[source,shell]
|
|
----
|
|
./target/batch-job
|
|
----
|