<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
<version>3.1.8</version>
</dependency>
libraryDependencies += "org.springframework.boot" % "spring-boot-starter-data-mongodb" % "3.1.8"
@Grapes(
@Grab(group='org.springframework.boot', module='spring-boot-starter-data-mongodb', version='3.1.8')
)
<dependency org="org.springframework.boot" name="spring-boot-starter-data-mongodb" rev="3.1.8" />