Skip to content

[Bug]: Missing Cassandra module package and/or wrong documentation #11838

@Ostico

Description

@Ostico

Module

Cassandra

Testcontainers version

2.0.5

Using the latest Testcontainers version?

Yes

Host OS

macOS 26.5.1

Host Arch

Apple M5

Docker version

Docker version 29.5.3

What happened?

Cassandra module 2.0.5 do not exists.

Using the BOM and the dependency, the installation fails:

[ERROR]   The project has 2 errors
[ERROR]     'dependencies.dependency.version' for org.testcontainers:cassandra:jar is missing. @ line 770, column 21
[ERROR]     'dependencies.dependency.version' for org.testcontainers:junit-jupiter:jar is missing. @ line 776, column 21
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.testcontainers</groupId>
                <artifactId>testcontainers-bom</artifactId>
                <version>2.0.5</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>cassandra</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

It is referenced inside the BOM as 1.21.4, but no version above 1.18.3 exists in the maven archives.
Importing it directly of course works but the maven dependency is stuck at 1.18.3

<!-- Source: https://mvnrepository.com/artifact/org.testcontainers/cassandra -->
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>cassandra</artifactId>
    <version>1.18.3</version>
    <scope>test</scope>
</dependency>

Relevant log output

Additional Information

The documentation websites contain incorrect information.

This states 2.0.5:
https://java.testcontainers.org/modules/databases/cassandra/#adding-this-module-to-your-project-dependencies

This states 2.0.1:
https://testcontainers.com/modules/cassandra/

Both are wrong.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions