<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client</artifactId>
<version>6.1.2</version>
</dependency>
@Grapes(
@Grab(group='org.elasticsearch.client', module='elasticsearch-rest-client', version='6.1.2')
)
<dependency org="org.elasticsearch.client" name="elasticsearch-rest-client" rev="6.1.2" />