Skip to content

Commit bd8574a

Browse files
committed
Upgrade Testcontainers to 2.0.3 #144
1 parent f5bca4e commit bd8574a

3 files changed

Lines changed: 29 additions & 34 deletions

File tree

RELEASE-NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 4.0-M3
2+
3+
* #144 Upgrade Testcontainers to 2.0.3
4+
15
## 4.0-M1
26

37
* #137 Remove deprecated modules and APIs

bootique-jdbc-junit5-testcontainers/pom.xml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,12 @@
5050
<artifactId>bootique-jdbc-junit5</artifactId>
5151
</dependency>
5252
<dependency>
53-
<groupId>org.testcontainers</groupId>
54-
<artifactId>testcontainers-jdbc</artifactId>
55-
</dependency>
56-
<dependency>
57-
<groupId>org.apache.commons</groupId>
58-
<artifactId>commons-compress</artifactId>
53+
<groupId>io.bootique</groupId>
54+
<artifactId>bootique-testcontainers-internal</artifactId>
5955
</dependency>
6056
<dependency>
61-
<groupId>org.apache.commons</groupId>
62-
<artifactId>commons-lang3</artifactId>
63-
</dependency>
64-
<dependency>
65-
<groupId>commons-io</groupId>
66-
<artifactId>commons-io</artifactId>
57+
<groupId>org.testcontainers</groupId>
58+
<artifactId>testcontainers-jdbc</artifactId>
6759
</dependency>
6860

6961
<!-- Unit test dependencies -->

pom.xml

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<postgresql.version>42.7.7</postgresql.version>
4343
<mysql.version>9.2.0</mysql.version>
4444
<liquibase.version>4.30.0</liquibase.version>
45-
<commons.compress.version>1.26.1</commons.compress.version>
4645
<commons.io.version>2.19.0</commons.io.version>
4746
<commons.lang.version>3.18.0</commons.lang.version>
4847
<commons.text.version>1.14.0</commons.text.version>
@@ -90,6 +89,11 @@
9089
<artifactId>bootique-junit5</artifactId>
9190
<version>${project.version}</version>
9291
</dependency>
92+
<dependency>
93+
<groupId>io.bootique</groupId>
94+
<artifactId>bootique-testcontainers-internal</artifactId>
95+
<version>${project.version}</version>
96+
</dependency>
9397
<dependency>
9498
<groupId>org.liquibase</groupId>
9599
<artifactId>liquibase-core</artifactId>
@@ -153,37 +157,47 @@
153157
<artifactId>derbytools</artifactId>
154158
<version>${derby.version}</version>
155159
</dependency>
156-
<!-- Importing testcontainers modules individually instead of using a BOM
157-
to have more control over the transitive dependencies -->
158160
<dependency>
159161
<groupId>org.testcontainers</groupId>
160162
<artifactId>testcontainers-jdbc</artifactId>
161163
<version>${testcontainers.version}</version>
162164
<exclusions>
163165
<exclusion>
164-
<groupId>org.apache.commons</groupId>
165-
<artifactId>commons-compress</artifactId>
166+
<groupId>org.testcontainers</groupId>
167+
<artifactId>testcontainers</artifactId>
166168
</exclusion>
167169
</exclusions>
168170
</dependency>
169171
<dependency>
170172
<groupId>org.testcontainers</groupId>
171173
<artifactId>testcontainers-postgresql</artifactId>
172174
<version>${testcontainers.version}</version>
175+
<exclusions>
176+
<exclusion>
177+
<groupId>org.testcontainers</groupId>
178+
<artifactId>testcontainers</artifactId>
179+
</exclusion>
180+
</exclusions>
173181
</dependency>
174182
<dependency>
175183
<groupId>org.testcontainers</groupId>
176184
<artifactId>testcontainers-mysql</artifactId>
177185
<version>${testcontainers.version}</version>
186+
<exclusions>
187+
<exclusion>
188+
<groupId>org.testcontainers</groupId>
189+
<artifactId>testcontainers</artifactId>
190+
</exclusion>
191+
</exclusions>
178192
</dependency>
179193
<dependency>
180194
<groupId>org.testcontainers</groupId>
181195
<artifactId>testcontainers-junit-jupiter</artifactId>
182196
<version>${testcontainers.version}</version>
183197
<exclusions>
184198
<exclusion>
185-
<groupId>org.junit.jupiter</groupId>
186-
<artifactId>junit-jupiter-api</artifactId>
199+
<groupId>org.testcontainers</groupId>
200+
<artifactId>testcontainers</artifactId>
187201
</exclusion>
188202
</exclusions>
189203
</dependency>
@@ -202,21 +216,6 @@
202216
<artifactId>commons-csv</artifactId>
203217
<version>1.11.0</version>
204218
</dependency>
205-
<dependency>
206-
<groupId>org.apache.commons</groupId>
207-
<artifactId>commons-compress</artifactId>
208-
<version>${commons.compress.version}</version>
209-
<exclusions>
210-
<exclusion>
211-
<groupId>org.apache.commons</groupId>
212-
<artifactId>commons-lang3</artifactId>
213-
</exclusion>
214-
<exclusion>
215-
<groupId>commons-io</groupId>
216-
<artifactId>commons-io</artifactId>
217-
</exclusion>
218-
</exclusions>
219-
</dependency>
220219
<dependency>
221220
<groupId>org.apache.commons</groupId>
222221
<artifactId>commons-lang3</artifactId>

0 commit comments

Comments
 (0)