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