Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>1.19.1</version>
<version>2.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -46,7 +46,7 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
<artifactId>testcontainers-postgresql</artifactId>
Copy link

Copilot AI Nov 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
<artifactId>testcontainers-postgresql</artifactId>
<artifactId>postgresql</artifactId>

Copilot uses AI. Check for mistakes.
<scope>test</scope>
</dependency>
<dependency>
Expand Down