Migrate to Spring Batch 6.1

Proprietary

Migrate applications to Spring Batch 6.1, as shipped with Spring Boot 4.2. Moves the async and chunk task executor item writers from spring-batch-integration to the org.springframework.batch.core.step.item package where Spring Batch 6.1 now hosts them, and replaces the deprecated StepExecution#getJobExecutionId(), StepExecution#getJobParameters() and JobExecution#getJobInstanceId() convenience getters. The other 6.1 deprecations (for example RepositoryItemReader#setRepository(..) or the Derby support) change call shapes or have no replacement, so they are not rewritten.

io.moderne.java.spring.batch.UpgradeSpringBatch_6_1
mod run . --recipe=io.moderne.java.spring.batch.UpgradeSpringBatch_6_1

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.