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