Skip to content

Commit cf8323b

Browse files
committed
Keep JUnit 5.x and Testcontainers 1.x for Java 11 compatibility
JUnit 6 and Testcontainers 2 require Java 17, but the project still targets and tests on Java 11.
1 parent faeb412 commit cf8323b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎pom.xml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363

6464
<!-- Test dependencies version -->
6565
<logback.version>1.6.3</logback.version>
66-
<junit.version>6.1.3</junit.version>
67-
<testcontainer.version>2.0.5</testcontainer.version>
66+
<junit.version>5.14.4</junit.version>
67+
<testcontainer.version>1.21.4</testcontainer.version>
6868
<wiremock.version>3.13.2</wiremock.version>
6969
<mockito.version>5.23.0</mockito.version>
7070
<system.stubs.version>2.1.8</system.stubs.version>
@@ -182,12 +182,12 @@
182182
</dependency>
183183
<dependency>
184184
<groupId>org.testcontainers</groupId>
185-
<artifactId>testcontainers</artifactId>
185+
<artifactId>junit-jupiter</artifactId>
186186
<version>${testcontainer.version}</version>
187187
</dependency>
188188
<dependency>
189189
<groupId>org.testcontainers</groupId>
190-
<artifactId>testcontainers-junit-jupiter</artifactId>
190+
<artifactId>testcontainers</artifactId>
191191
<version>${testcontainer.version}</version>
192192
</dependency>
193193
<dependency>
@@ -304,12 +304,12 @@
304304
</dependency>
305305
<dependency>
306306
<groupId>org.testcontainers</groupId>
307-
<artifactId>testcontainers</artifactId>
307+
<artifactId>junit-jupiter</artifactId>
308308
<scope>test</scope>
309309
</dependency>
310310
<dependency>
311311
<groupId>org.testcontainers</groupId>
312-
<artifactId>testcontainers-junit-jupiter</artifactId>
312+
<artifactId>testcontainers</artifactId>
313313
<scope>test</scope>
314314
</dependency>
315315
<dependency>

0 commit comments

Comments
 (0)