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