Skip to content

Commit 200724d

Browse files
danilopiazzafmbenhassine
authored andcommitted
Make JUnit 4 an optional dependency in spring-batch-test
Resolves #4033
1 parent f23ab15 commit 200724d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

spring-batch-test/pom.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
<artifactId>spring-test</artifactId>
3636
<version>${spring-framework.version}</version>
3737
</dependency>
38-
<dependency>
39-
<groupId>junit</groupId>
40-
<artifactId>junit</artifactId>
41-
<version>${junit.version}</version>
42-
</dependency>
4338

4439
<!-- optional production dependencies -->
4540
<dependency>
@@ -54,6 +49,12 @@
5449
<version>${aspectj.version}</version>
5550
<optional>true</optional>
5651
</dependency>
52+
<dependency>
53+
<groupId>junit</groupId>
54+
<artifactId>junit</artifactId>
55+
<version>${junit.version}</version>
56+
<optional>true</optional>
57+
</dependency>
5758
<dependency>
5859
<groupId>org.junit.jupiter</groupId>
5960
<artifactId>junit-jupiter-api</artifactId>

0 commit comments

Comments
 (0)