MVN

org.mongodb : mongodb-driver

Maven & Gradle

Jun 07, 2023
350 usages
2.5k stars

MongoDB Java Driver (unmaintained) · This artifact is no longer maintained / updated by MongoDB. For the most up-to-date version of the Java Driver, please refer to the mongodb-driver-sync artifact. To use the legacy API, please refer to the mongodb-driver-legacy artifact.

<dependency>
    <groupId>org.mongodb</groupId>
    <artifactId>mongodb-driver</artifactId>
    <version>3.12.14</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

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

  • Latest Stable: 3.12.14
  • Latest Release Candidate: 3.11.0-rc0
  • Latest Beta: 3.11.0-beta4
  • Latest Alpha: 3.5.0-alpha1

All Versions

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

Version Vulnerabilities Updated
3.12.x
mongodb-driver-3.12.14
mongodb-driver-3.12.13
mongodb-driver-3.12.12
mongodb-driver-3.12.11
mongodb-driver-3.12.10
mongodb-driver-3.12.9
mongodb-driver-3.12.8
mongodb-driver-3.12.7
mongodb-driver-3.12.6
mongodb-driver-3.12.5
mongodb-driver-3.12.4
mongodb-driver-3.12.3
mongodb-driver-3.12.2
mongodb-driver-3.12.1
mongodb-driver-3.12.0
3.11.x
mongodb-driver-3.11.3
mongodb-driver-3.11.2
mongodb-driver-3.11.1
mongodb-driver-3.11.0
mongodb-driver-3.11.0-rc0
mongodb-driver-3.11.0-beta4
mongodb-driver-3.11.0-beta3
mongodb-driver-3.11.0-beta2
mongodb-driver-3.11.0-beta1
3.10.x
mongodb-driver-3.10.2
mongodb-driver-3.10.1
mongodb-driver-3.10.0
3.9.x
mongodb-driver-3.9.1
mongodb-driver-3.9.0
mongodb-driver-3.9.0-rc0
3.8.x
mongodb-driver-3.8.2
mongodb-driver-3.8.1
mongodb-driver-3.8.0
mongodb-driver-3.8.0-beta3
mongodb-driver-3.8.0-beta2
mongodb-driver-3.8.0-beta1
3.7.x
mongodb-driver-3.7.1
mongodb-driver-3.7.0
mongodb-driver-3.7.0-rc0
3.6.x
mongodb-driver-3.6.4
mongodb-driver-3.6.3
mongodb-driver-3.6.2
mongodb-driver-3.6.1
mongodb-driver-3.6.0
mongodb-driver-3.6.0-rc1
mongodb-driver-3.6.0-rc0
mongodb-driver-3.6.0-beta2
mongodb-driver-3.6.0-beta1
3.5.x
mongodb-driver-3.5.0
mongodb-driver-3.5.0-alpha1
3.4.x
mongodb-driver-3.4.3
mongodb-driver-3.4.2
mongodb-driver-3.4.1
mongodb-driver-3.4.0
mongodb-driver-3.4.0-rc1
mongodb-driver-3.4.0-beta1
3.3.x
mongodb-driver-3.3.0
3.2.x
mongodb-driver-3.2.2
mongodb-driver-3.2.1
mongodb-driver-3.2.0
mongodb-driver-3.2.0-rc0
3.1.x
mongodb-driver-3.1.1
mongodb-driver-3.1.0
mongodb-driver-3.1.0-rc0
3.0.x
mongodb-driver-3.0.4
mongodb-driver-3.0.3
mongodb-driver-3.0.2
mongodb-driver-3.0.1
mongodb-driver-3.0.0
mongodb-driver-3.0.0-rc1
mongodb-driver-3.0.0-rc0
mongodb-driver-3.0.0-beta3
mongodb-driver-3.0.0-beta2
mongodb-driver-3.0.0-beta1

How to add a dependency to Maven

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

<dependency>
    <groupId>org.mongodb</groupId>
    <artifactId>mongodb-driver</artifactId>
    <version>3.12.14</version>
</dependency>

How to add a dependency to Gradle

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

implementation 'org.mongodb:mongodb-driver:3.12.14'

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

implementation("org.mongodb:mongodb-driver:3.12.14")

How to add a dependency to SBT Scala

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

libraryDependencies += "org.mongodb" % "mongodb-driver" % "3.12.14"

Advertisement

Dependencies from Group

Jun 07, 2023
1.4k usages
2.5k stars
Jul 11, 2023
485 usages
2.5k stars
Jul 11, 2023
354 usages
2.5k stars
Jun 07, 2023
350 usages
2.5k stars
Jul 11, 2023
320 usages
2.5k stars

Discover Dependencies

Aug 03, 2020
22 usages
Jul 13, 2023
3 usages
32 stars
Jun 24, 2022
9 usages
16.7k stars
Aug 15, 2023
98 usages
1k stars
Jan 07, 2020
43 usages
1k stars
Jul 16, 2023
42 usages
231 stars
Aug 14, 2023
27 usages
3k stars
Aug 14, 2023
3.1k stars
Aug 23, 2023
77 usages