Uh oh!
There was an error while loading. Please reload this page.
Updated testcontainer dependency to 2.0.2 - #27
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Testcontainers dependency from version 1.19.1 to 2.0.2, a major version upgrade that may include breaking changes.
- Updated testcontainers-bom from version 1.19.1 to 2.0.2
- Changed PostgreSQL module artifact ID from
postgresqltotestcontainers-postgresql
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <dependency> | ||
| <groupId>org.testcontainers</groupId> | ||
| <artifactId>postgresql</artifactId> | ||
| <artifactId>testcontainers-postgresql</artifactId> |
There was a problem hiding this comment.
The artifact ID change from postgresql to testcontainers-postgresql is incorrect. In Testcontainers 2.x, the PostgreSQL module artifact ID remains postgresql, not testcontainers-postgresql. The correct dependency should be:
<artifactId>postgresql</artifactId>The naming pattern testcontainers-<module> is used by other ecosystems (like .NET), but the Java Testcontainers library continues to use the simpler module names.
| <artifactId>testcontainers-postgresql</artifactId> | |
| <artifactId>postgresql</artifactId> |
Updated testcontainers-bom dependency to version 2.0.2
Updated PostgreSQL dependency to testcontainers-postgresql