MVN

com.mongodb : bson

Maven & Gradle

Aug 17, 2011

BSON · The BSON libs

<dependency>
    <groupId>com.mongodb</groupId>
    <artifactId>bson</artifactId>
    <version>2.7.1</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.mongodb : bson to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.7.1

All Versions

Choose a version of com.mongodb : bson to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.7.x
bson-2.7.1

How to add a dependency to Maven

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

<dependency>
    <groupId>com.mongodb</groupId>
    <artifactId>bson</artifactId>
    <version>2.7.1</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.mongodb : bson gradle dependency to your build.gradle file:

implementation 'com.mongodb:bson:2.7.1'

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

implementation("com.mongodb:bson:2.7.1")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.mongodb : bson sbt scala dependency to your build.sbt file:

libraryDependencies += "com.mongodb" % "bson" % "2.7.1"

Advertisement