Skip to content

Conversation

@rutven
Copy link

@rutven rutven commented Nov 29, 2025

Updated testcontainers-bom dependency to version 2.0.2
Updated PostgreSQL dependency to testcontainers-postgresql

Copilot AI review requested due to automatic review settings November 29, 2025 11:07
@rutven rutven requested a review from a team as a code owner November 29, 2025 11:07
Copilot finished reviewing on behalf of rutven November 29, 2025 11:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 postgresql to testcontainers-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>
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant