MVN

org.testcontainers : mongodb

Maven & Gradle

Aug 21, 2023
91 usages
8k stars

Testcontainers :: MongoDB · Isolated container management for Java code testing

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>mongodb</artifactId>
    <version>1.19.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.testcontainers : mongodb to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.19.0
  • Latest Release Candidate: 1.15.0-rc2

All Versions

Choose a version of org.testcontainers : mongodb to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.19.x
mongodb-1.19.0
1.18.x
mongodb-1.18.3
mongodb-1.18.2
mongodb-1.18.1
mongodb-1.18.0
1.17.x
mongodb-1.17.6
mongodb-1.17.5
mongodb-1.17.4
mongodb-1.17.3
mongodb-1.17.2
mongodb-1.17.1
mongodb-1.17.0
1.16.x
mongodb-1.16.3
mongodb-1.16.2
mongodb-1.16.1
mongodb-1.16.0
1.15.x
mongodb-1.15.3
mongodb-1.15.2
mongodb-1.15.1
mongodb-1.15.0
mongodb-1.15.0-rc2
mongodb-1.15.0-rc1
1.14.x
mongodb-1.14.3
mongodb-1.14.2

How to add a dependency to Maven

Add the following org.testcontainers : mongodb maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>mongodb</artifactId>
    <version>1.19.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.testcontainers : mongodb gradle dependency to your build.gradle file:

implementation 'org.testcontainers:mongodb:1.19.0'

Gradle Kotlin DSL: Add the following org.testcontainers : mongodb gradle kotlin dependency to your build.gradle.kts file:

implementation("org.testcontainers:mongodb:1.19.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.testcontainers : mongodb sbt scala dependency to your build.sbt file:

libraryDependencies += "org.testcontainers" % "mongodb" % "1.19.0"

Advertisement

Dependencies from Group

Aug 21, 2023
1.2k usages
8k stars
Aug 21, 2023
451 usages
8k stars
Aug 21, 2023
322 usages
8k stars
Aug 21, 2023
195 usages
8k stars
Aug 21, 2023
156 usages
8k stars

Discover Dependencies

Nov 03, 2020
64 usages
5.8k stars
Feb 20, 2013
289 usages
734 stars
Apr 28, 2016
81 usages
8.7k stars
Jun 25, 2023
114 usages
Oct 26, 2022
91 usages
140 stars
May 12, 2020
69 usages
Aug 14, 2023
122 usages
5.2k stars