Skip to content

Commit c6b6eb0

Browse files
committed
Fix execution of JUnit 4 tests with Maven
1 parent 3503ba4 commit c6b6eb0

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

batch/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
<artifactId>junit-jupiter-engine</artifactId>
4747
<scope>test</scope>
4848
</dependency>
49+
<dependency>
50+
<groupId>org.junit.vintage</groupId>
51+
<artifactId>junit-vintage-engine</artifactId>
52+
<scope>test</scope>
53+
</dependency>
4954
<dependency>
5055
<groupId>org.assertj</groupId>
5156
<artifactId>assertj-core</artifactId>

lib/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
<artifactId>junit-jupiter-engine</artifactId>
5252
<scope>test</scope>
5353
</dependency>
54+
<dependency>
55+
<groupId>org.junit.vintage</groupId>
56+
<artifactId>junit-vintage-engine</artifactId>
57+
<scope>test</scope>
58+
</dependency>
5459
<dependency>
5560
<groupId>org.mockito</groupId>
5661
<artifactId>mockito-core</artifactId>

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@
9999
<artifactId>junit-jupiter-engine</artifactId>
100100
<version>5.10.1</version>
101101
</dependency>
102+
<dependency>
103+
<groupId>org.junit.vintage</groupId>
104+
<artifactId>junit-vintage-engine</artifactId>
105+
<version>5.10.1</version>
106+
</dependency>
102107
<dependency>
103108
<groupId>org.mockito</groupId>
104109
<artifactId>mockito-core</artifactId>

0 commit comments

Comments
 (0)