This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cayenne.git
commit 8342cc912cbf2b8fe37c612c8b2d13adc597244c Author: Andrus Adamchik <[email protected]> AuthorDate: Wed May 13 14:52:25 2026 -0400 Upgrade testcontainers to v2 --- cayenne-dbsync/pom.xml | 12 ++++++------ cayenne-jcache/pom.xml | 12 ++++++------ cayenne/pom.xml | 12 ++++++------ pom.xml | 14 +++++++------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/cayenne-dbsync/pom.xml b/cayenne-dbsync/pom.xml index b16a3dfba..199505c52 100644 --- a/cayenne-dbsync/pom.xml +++ b/cayenne-dbsync/pom.xml @@ -86,32 +86,32 @@ </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mysql</artifactId> + <artifactId>testcontainers-mysql</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mariadb</artifactId> + <artifactId>testcontainers-mariadb</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>postgresql</artifactId> + <artifactId>testcontainers-postgresql</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>oracle-xe</artifactId> + <artifactId>testcontainers-oracle-xe</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mssqlserver</artifactId> + <artifactId>testcontainers-mssqlserver</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>db2</artifactId> + <artifactId>testcontainers-db2</artifactId> <scope>test</scope> </dependency> diff --git a/cayenne-jcache/pom.xml b/cayenne-jcache/pom.xml index 28eda594e..0f49da4b9 100644 --- a/cayenne-jcache/pom.xml +++ b/cayenne-jcache/pom.xml @@ -95,32 +95,32 @@ </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mysql</artifactId> + <artifactId>testcontainers-mysql</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mariadb</artifactId> + <artifactId>testcontainers-mariadb</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>postgresql</artifactId> + <artifactId>testcontainers-postgresql</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>oracle-xe</artifactId> + <artifactId>testcontainers-oracle-xe</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mssqlserver</artifactId> + <artifactId>testcontainers-mssqlserver</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>db2</artifactId> + <artifactId>testcontainers-db2</artifactId> <scope>test</scope> </dependency> </dependencies> diff --git a/cayenne/pom.xml b/cayenne/pom.xml index 8e488c6ab..c00f6b51b 100644 --- a/cayenne/pom.xml +++ b/cayenne/pom.xml @@ -113,32 +113,32 @@ </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mysql</artifactId> + <artifactId>testcontainers-mysql</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mariadb</artifactId> + <artifactId>testcontainers-mariadb</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>postgresql</artifactId> + <artifactId>testcontainers-postgresql</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>oracle-xe</artifactId> + <artifactId>testcontainers-oracle-xe</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mssqlserver</artifactId> + <artifactId>testcontainers-mssqlserver</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>db2</artifactId> + <artifactId>testcontainers-db2</artifactId> <scope>test</scope> </dependency> </dependencies> diff --git a/pom.xml b/pom.xml index 5acca8da3..08c393e05 100644 --- a/pom.xml +++ b/pom.xml @@ -51,7 +51,7 @@ <mcp-sdk.version>1.1.2</mcp-sdk.version> <mockito.version>5.23.0</mockito.version> <slf4j.version>2.0.17</slf4j.version> - <testcontainers.version>1.21.4</testcontainers.version> + <testcontainers.version>2.0.5</testcontainers.version> <xmlunit.version>2.9.1</xmlunit.version> <!-- JDBC driver versions --> @@ -581,37 +581,37 @@ </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mysql</artifactId> + <artifactId>testcontainers-mysql</artifactId> <version>${testcontainers.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mariadb</artifactId> + <artifactId>testcontainers-mariadb</artifactId> <version>${testcontainers.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>postgresql</artifactId> + <artifactId>testcontainers-postgresql</artifactId> <version>${testcontainers.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>oracle-xe</artifactId> + <artifactId>testcontainers-oracle-xe</artifactId> <version>${testcontainers.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>mssqlserver</artifactId> + <artifactId>testcontainers-mssqlserver</artifactId> <version>${testcontainers.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> - <artifactId>db2</artifactId> + <artifactId>testcontainers-db2</artifactId> <version>${testcontainers.version}</version> <scope>test</scope> </dependency>
