From baf80a7739e0b382a56be033c3ea11fd8fe57546 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Tue, 18 Jan 2022 15:33:06 +0100 Subject: [PATCH] Make spring-jdbc a required dependency in core As of v4, spring-jdbc was optional since Spring Batch provided a Map-based job repository. In v5, the Map-based job repository has been removed and the only option now is the Jdbc-based implementation which requires spring-jdbc. Resolves #4048 Related to #3836 --- spring-batch-core/pom.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/spring-batch-core/pom.xml b/spring-batch-core/pom.xml index 137ee944f..87f708211 100644 --- a/spring-batch-core/pom.xml +++ b/spring-batch-core/pom.xml @@ -45,6 +45,11 @@ spring-tx ${spring-framework.version} + + org.springframework + spring-jdbc + ${spring-framework.version} + com.fasterxml.jackson.core jackson-databind @@ -75,12 +80,6 @@ ${aspectj.version} true - - org.springframework - spring-jdbc - ${spring-framework.version} - true -