Skip to content

Commit 53c01dd

Browse files
RMB-1045 upgrade to test-containers 2.0.3 (#1224)
1 parent 90f8984 commit 53c01dd

4 files changed

Lines changed: 5 additions & 28 deletions

File tree

cql2pgjson/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@
130130

131131
<dependency>
132132
<groupId>org.testcontainers</groupId>
133-
<artifactId>junit-jupiter</artifactId>
133+
<artifactId>testcontainers-junit-jupiter</artifactId>
134134
<scope>test</scope>
135135
</dependency>
136136

137137
<dependency>
138138
<groupId>org.testcontainers</groupId>
139-
<artifactId>postgresql</artifactId>
139+
<artifactId>testcontainers-postgresql</artifactId>
140140
<scope>test</scope>
141141
</dependency>
142142

domain-models-runtime/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
</dependency>
218218
<dependency>
219219
<groupId>org.testcontainers</groupId>
220-
<artifactId>junit-jupiter</artifactId>
220+
<artifactId>testcontainers-junit-jupiter</artifactId>
221221
<scope>test</scope>
222222
</dependency>
223223
<dependency>

pom.xml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -185,22 +185,10 @@
185185
<dependency>
186186
<groupId>org.testcontainers</groupId>
187187
<artifactId>testcontainers-bom</artifactId>
188-
<version>1.21.3</version>
188+
<version>2.0.3</version>
189189
<type>pom</type>
190190
<scope>import</scope>
191191
</dependency>
192-
<!--
193-
remove commons-compress dependency when testcontainers
194-
comes with commons-compress >= 1.26.0 fixing
195-
https://nvd.nist.gov/vuln/detail/CVE-2024-25710
196-
https://nvd.nist.gov/vuln/detail/CVE-2024-26308
197-
see https://github.com/testcontainers/testcontainers-java/pull/8354
198-
-->
199-
<dependency>
200-
<groupId>org.apache.commons</groupId>
201-
<artifactId>commons-compress</artifactId>
202-
<version>1.27.1</version>
203-
</dependency>
204192
<!-- remove org.postgresql:postgresql dependency when testcontainers
205193
comes with postgresql:postgresql >= 42.7.2 fixing
206194
https://nvd.nist.gov/vuln/detail/CVE-2024-1597

postgres-testing/pom.xml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,7 @@
2626
</dependency>
2727
<dependency>
2828
<groupId>org.testcontainers</groupId>
29-
<artifactId>postgresql</artifactId>
30-
</dependency>
31-
<!--
32-
remove commons-compress dependency when testcontainers
33-
comes with commons-compress >= 1.26.0 fixing
34-
https://nvd.nist.gov/vuln/detail/CVE-2024-25710
35-
https://nvd.nist.gov/vuln/detail/CVE-2024-26308
36-
see https://github.com/testcontainers/testcontainers-java/pull/8354
37-
-->
38-
<dependency>
39-
<groupId>org.apache.commons</groupId>
40-
<artifactId>commons-compress</artifactId>
29+
<artifactId>testcontainers-postgresql</artifactId>
4130
</dependency>
4231
<!-- for Testcontainers -->
4332
<dependency>

0 commit comments

Comments
 (0)