= Spring Batch Job Task

This is a Spring Cloud Task application that executes a single Spring Batch Job.

== 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
----

== Run the application with a Postgesql test container
[source,shell]
----
./mvnw spring-boot:test-run
----
