Testcontainers-java: TestContainers Mongo does not exist

Created on 10 May 2020  路  5Comments  路  Source: testcontainers/testcontainers-java

Try to add Mongo test containers to my Spring tests, I added dependency as described in the official docs.

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>mongodb</artifactId>
    <version>1.14.1</version>
    <scope>test</scope>
</dependency>

It does not exist, check: https://mvnrepository.com/artifact/org.testcontainers

typdocs

All 5 comments

@hantsy good catch. It was just merged, but not released yet, while the docs render the latest state (basically, a SNAPSHOT).

@rnorth we need to think how to prevent it in future (maybe we can add @since tag to pages in mkdocs and include them only when version >= or something)

This has just caused me 45 mins of hair pulling

Any idea when is it going to come out @bsideup?
Just curious @hantsy; what are you using for now?
Thanks

@AElMehdi released in 1.14.2.

@AElMehdi Updated to 1.14.2, check my example here.

Was this page helpful?
0 / 5 - 0 ratings