<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>6.1.1</version>
</dependency>
libraryDependencies += "org.elasticsearch.client" % "elasticsearch-rest-high-level-client" % "6.1.1"
@Grapes(
@Grab(group='org.elasticsearch.client', module='elasticsearch-rest-high-level-client', version='6.1.1')
)
<dependency org="org.elasticsearch.client" name="elasticsearch-rest-high-level-client" rev="6.1.1" />