Skip to content

Commit 8af11d1

Browse files
committed
Remove testcontainer's dependency onto JUnit 4
1 parent 1816938 commit 8af11d1

File tree

1 file changed

+12
-0
lines changed
  • testcontainers-advanced-imagebuilder

1 file changed

+12
-0
lines changed

testcontainers-advanced-imagebuilder/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,18 @@
9292
<groupId>org.testcontainers</groupId>
9393
<artifactId>testcontainers</artifactId>
9494
<version>1.21.0</version>
95+
<exclusions>
96+
<!-- No JUnit 4 -->
97+
<exclusion>
98+
<groupId>junit</groupId>
99+
<artifactId>junit</artifactId>
100+
</exclusion>
101+
</exclusions>
102+
</dependency>
103+
<dependency>
104+
<groupId>software.xdev</groupId>
105+
<artifactId>testcontainers-junit4-mock</artifactId>
106+
<version>1.0.1</version>
95107
</dependency>
96108
<!-- Testcontainers is using outdated v1 -->
97109
<dependency>

0 commit comments

Comments
 (0)