<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
<version>2.2.4.RELEASE</version>
</dependency>
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb:2.2.4.RELEASE'
implementation("org.springframework.boot:spring-boot-starter-data-mongodb:2.2.4.RELEASE")
libraryDependencies += "org.springframework.boot" % "spring-boot-starter-data-mongodb" % "2.2.4.RELEASE"
@Grapes(
@Grab(group='org.springframework.boot', module='spring-boot-starter-data-mongodb', version='2.2.4.RELEASE')
)
<dependency org="org.springframework.boot" name="spring-boot-starter-data-mongodb" rev="2.2.4.RELEASE" />
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starters</artifactId> <version>2.2.4.RELEASE</version> </parent>
compile
|-- org.springframework.boot:spring-boot-starter:2.2.4.RELEASE
|-- org.mongodb:mongodb-driver:3.11.2
|-- org.springframework.data:spring-data-mongodb:2.2.4.RELEASE