Skip to content

Commit 0fa8ba5

Browse files
committed
Remove Junit engines from test classpath
They are in the `provider` classpath of the Surefire process.
1 parent 235f392 commit 0fa8ba5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

log4j-mongodb4/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@
7676
<groupId>junit</groupId>
7777
<artifactId>junit</artifactId>
7878
</exclusion>
79+
<exclusion>
80+
<groupId>org.junit.vintage</groupId>
81+
<artifactId>junit-vintage-engine</artifactId>
82+
</exclusion>
83+
<exclusion>
84+
<groupId>org.junit.jupiter</groupId>
85+
<artifactId>junit-jupiter-engine</artifactId>
86+
</exclusion>
7987
</exclusions>
8088
</dependency>
8189
<dependency>

0 commit comments

Comments
 (0)