MVN

org.mongodb : mongo-java-driver

Maven & Gradle

Jun 07, 2023
1.4k usages
2.6k 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>mongo-java-driver</artifactId>
    <version>3.12.14</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.mongodb : mongo-java-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 : mongo-java-driver to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
3.12.x
mongo-java-driver-3.12.14
mongo-java-driver-3.12.13
mongo-java-driver-3.12.12
mongo-java-driver-3.12.11
mongo-java-driver-3.12.10
mongo-java-driver-3.12.9
mongo-java-driver-3.12.8
mongo-java-driver-3.12.7
mongo-java-driver-3.12.6
mongo-java-driver-3.12.5
mongo-java-driver-3.12.4
mongo-java-driver-3.12.3
mongo-java-driver-3.12.2
mongo-java-driver-3.12.1
mongo-java-driver-3.12.0
3.11.x
mongo-java-driver-3.11.3
mongo-java-driver-3.11.2
mongo-java-driver-3.11.1
mongo-java-driver-3.11.0
mongo-java-driver-3.11.0-rc0
mongo-java-driver-3.11.0-beta4
mongo-java-driver-3.11.0-beta3
mongo-java-driver-3.11.0-beta2
mongo-java-driver-3.11.0-beta1
3.10.x
mongo-java-driver-3.10.2
mongo-java-driver-3.10.1
mongo-java-driver-3.10.0
3.9.x
mongo-java-driver-3.9.1
mongo-java-driver-3.9.0
mongo-java-driver-3.9.0-rc0
3.8.x
mongo-java-driver-3.8.2
mongo-java-driver-3.8.1
mongo-java-driver-3.8.0
mongo-java-driver-3.8.0-beta3
mongo-java-driver-3.8.0-beta2
mongo-java-driver-3.8.0-beta1
3.7.x
mongo-java-driver-3.7.1
mongo-java-driver-3.7.0
mongo-java-driver-3.7.0-rc0
3.6.x
mongo-java-driver-3.6.4
mongo-java-driver-3.6.3
mongo-java-driver-3.6.2
mongo-java-driver-3.6.1
mongo-java-driver-3.6.0
mongo-java-driver-3.6.0-rc1
mongo-java-driver-3.6.0-rc0
mongo-java-driver-3.6.0-beta2
mongo-java-driver-3.6.0-beta1
3.5.x
mongo-java-driver-3.5.0
mongo-java-driver-3.5.0-alpha1
3.4.x
mongo-java-driver-3.4.3
mongo-java-driver-3.4.2
mongo-java-driver-3.4.1
mongo-java-driver-3.4.0
mongo-java-driver-3.4.0-rc1
mongo-java-driver-3.4.0-beta1
3.3.x
mongo-java-driver-3.3.0
3.2.x
mongo-java-driver-3.2.2
mongo-java-driver-3.2.1
mongo-java-driver-3.2.0
mongo-java-driver-3.2.0-rc0
3.1.x
mongo-java-driver-3.1.1
mongo-java-driver-3.1.0
mongo-java-driver-3.1.0-rc0
3.0.x
mongo-java-driver-3.0.4
mongo-java-driver-3.0.3
mongo-java-driver-3.0.2
mongo-java-driver-3.0.1
mongo-java-driver-3.0.0
mongo-java-driver-3.0.0-rc1
mongo-java-driver-3.0.0-rc0
mongo-java-driver-3.0.0-beta3
mongo-java-driver-3.0.0-beta2
mongo-java-driver-3.0.0-beta1
2.14.x
mongo-java-driver-2.14.3
mongo-java-driver-2.14.2
mongo-java-driver-2.14.1
mongo-java-driver-2.14.0
mongo-java-driver-2.14.0-rc0
2.13.x
mongo-java-driver-2.13.3
mongo-java-driver-2.13.2
mongo-java-driver-2.13.1
mongo-java-driver-2.13.0
mongo-java-driver-2.13.0-rc2
mongo-java-driver-2.13.0-rc1
mongo-java-driver-2.13.0-rc0
2.12.x
mongo-java-driver-2.12.5
mongo-java-driver-2.12.4
mongo-java-driver-2.12.3
mongo-java-driver-2.12.2
mongo-java-driver-2.12.1
mongo-java-driver-2.12.0
mongo-java-driver-2.12.0-rc3
mongo-java-driver-2.12.0-rc2
mongo-java-driver-2.12.0-rc1
mongo-java-driver-2.12.0-rc0
2.11.x
mongo-java-driver-2.11.4
mongo-java-driver-2.11.3
mongo-java-driver-2.11.2
mongo-java-driver-2.11.1
mongo-java-driver-2.11.0
mongo-java-driver-2.11.0-RC1
2.10.x
mongo-java-driver-2.10.1
mongo-java-driver-2.10.0
2.9.x
mongo-java-driver-2.9.3
mongo-java-driver-2.9.2
mongo-java-driver-2.9.1
mongo-java-driver-2.9.0
mongo-java-driver-2.9.0-RC2
mongo-java-driver-2.9.0-RC1
2.8.x
mongo-java-driver-2.8.0
mongo-java-driver-2.8.0-RC1
2.7.x
mongo-java-driver-2.7.3
mongo-java-driver-2.7.2
mongo-java-driver-2.7.1
mongo-java-driver-2.7.0
mongo-java-driver-2.7.0-rc4
mongo-java-driver-2.7.0-rc3
mongo-java-driver-2.7.0-rc2
mongo-java-driver-2.7.0-rc1
2.6.x
mongo-java-driver-2.6.5
mongo-java-driver-2.6.3
mongo-java-driver-2.6.2
mongo-java-driver-2.6.1
2.6
mongo-java-driver-2.6
2.5.x
mongo-java-driver-2.5.3
mongo-java-driver-2.5.2
mongo-java-driver-2.5.1
2.5
mongo-java-driver-2.5
2.4
mongo-java-driver-2.4
2.3
mongo-java-driver-2.3
2.2
mongo-java-driver-2.2
2.1
mongo-java-driver-2.1
2.0
mongo-java-driver-2.0
2.0rc4
mongo-java-driver-2.0rc4
2.0rc3
mongo-java-driver-2.0rc3
2.0rc1
mongo-java-driver-2.0rc1
2.0rc0
mongo-java-driver-2.0rc0
1.4
mongo-java-driver-1.4
1.3
mongo-java-driver-1.3
1.2.x
mongo-java-driver-1.2.1
1.2
mongo-java-driver-1.2
1.1
mongo-java-driver-1.1
1.0
mongo-java-driver-1.0
0.11
mongo-java-driver-0.11
0.9.x
mongo-java-driver-0.9.1

How to add a dependency to Maven

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

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

How to add a dependency to Gradle

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

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

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

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

How to add a dependency to SBT Scala

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

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

Advertisement

Dependencies from Group

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

Discover Dependencies

Jul 13, 2023
5.2k usages
56.5k stars
Mar 09, 2013
2.1k usages
Aug 21, 2007
2.2k usages
Aug 16, 2023
3k usages
297 stars
Nov 06, 2006
677 usages
Jul 23, 2023
451 usages
Feb 09, 2022
36 usages
Mar 09, 2023
722 usages
14.8k stars
May 11, 2023
69 usages
81 stars
Jul 18, 2023
12 usages
2.7k stars