Skip to content

Testcontainers 2.0 migration — BOM artifact reorganization #155

@amavashev

Description

@amavashev

Tracks the Testcontainers 1.x → 2.x migration. Currently blocks #151.

Why this isn't a Dependabot merge

Testcontainers 2.0 reorganized its BOM. `org.testcontainers:junit-jupiter` is no longer managed by the BOM, so any pom that imports it without an explicit version (relying on ``) fails to build:

```
'dependencies.dependency.version' for org.testcontainers:junit-jupiter:jar is missing.
@ io.runcycles:cycles-admin-service-data ... cycles-admin-service-data/pom.xml line 57
```

Scope of the migration

  • Identify the 2.x replacement artifact / new artifact ID (or pin `junit-jupiter` version explicitly if the BOM no longer manages it)
  • Update every `@Testcontainers` / `@Container` usage — 2.0 changed defaults around container reuse and lifecycle
  • Re-verify all integration tests (full `mvn -B verify` green)
  • Sweep AUDIT.md / CHANGELOG.md per release-prep convention

Cross-repo

If the same migration is needed in `cycles-server-events` or `cycles-server`, file companion issues there. The three repos use Testcontainers independently, so each can migrate separately.

Reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions