Skip to content

Commit baf80a7

Browse files
committed
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
1 parent 115c302 commit baf80a7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

spring-batch-core/pom.xml

+5-6
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
<artifactId>spring-tx</artifactId>
4646
<version>${spring-framework.version}</version>
4747
</dependency>
48+
<dependency>
49+
<groupId>org.springframework</groupId>
50+
<artifactId>spring-jdbc</artifactId>
51+
<version>${spring-framework.version}</version>
52+
</dependency>
4853
<dependency>
4954
<groupId>com.fasterxml.jackson.core</groupId>
5055
<artifactId>jackson-databind</artifactId>
@@ -75,12 +80,6 @@
7580
<version>${aspectj.version}</version>
7681
<optional>true</optional>
7782
</dependency>
78-
<dependency>
79-
<groupId>org.springframework</groupId>
80-
<artifactId>spring-jdbc</artifactId>
81-
<version>${spring-framework.version}</version>
82-
<optional>true</optional>
83-
</dependency>
8483

8584
<!-- test dependencies -->
8685
<dependency>

0 commit comments

Comments
 (0)