This is an automated email from the ASF dual-hosted git repository.

tzimanyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git


The following commit(s) were added to refs/heads/main by this push:
     new f6e6339bc4 [kie-issues#2153] Update testcontainers to 2.0.1. (#6496)
f6e6339bc4 is described below

commit f6e6339bc416516335b22e43820ff0b6dacbc529
Author: Tibor Zimányi <[email protected]>
AuthorDate: Wed Oct 22 13:16:15 2025 +0200

    [kie-issues#2153] Update testcontainers to 2.0.1. (#6496)
---
 .../drools-reliability-tests/pom.xml               | 23 +++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/drools-reliability/drools-reliability-tests/pom.xml 
b/drools-reliability/drools-reliability-tests/pom.xml
index da896f9715..c4c1e50c07 100644
--- a/drools-reliability/drools-reliability-tests/pom.xml
+++ b/drools-reliability/drools-reliability-tests/pom.xml
@@ -35,7 +35,7 @@
 
   <properties>
     <java.module.name>org.drools.reliability.infinispan</java.module.name>
-    <version.testcontainers>1.20.1</version.testcontainers>
+    <version.testcontainers>2.0.1</version.testcontainers>
   </properties>
 
   <dependencyManagement>
@@ -49,7 +49,13 @@
       </dependency>
       <dependency>
         <groupId>org.testcontainers</groupId>
-        <artifactId>junit-jupiter</artifactId>
+        <artifactId>testcontainers-junit-jupiter</artifactId>
+        <version>${version.testcontainers}</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.testcontainers</groupId>
+        <artifactId>testcontainers-jdbc</artifactId>
         <version>${version.testcontainers}</version>
         <scope>test</scope>
       </dependency>
@@ -117,7 +123,14 @@
     </dependency>
     <dependency>
       <groupId>org.testcontainers</groupId>
-      <artifactId>junit-jupiter</artifactId>
+      <artifactId>testcontainers-junit-jupiter</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <!-- There is an exclude for 1.x testcontainers jdbc library in 
infinispan-server-testdriver-core dependency.
+         This brings in the 2.x version of it. -->
+    <dependency>
+      <groupId>org.testcontainers</groupId>
+      <artifactId>testcontainers-jdbc</artifactId>
       <scope>test</scope>
     </dependency>
 
@@ -138,6 +151,10 @@
           <groupId>org.apache.logging.log4j</groupId>
           <artifactId>log4j-slf4j-impl</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.testcontainers</groupId>
+          <artifactId>jdbc</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to