<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-core</artifactId>
<version>6.2.4</version>
</dependency>
@Grapes(
@Grab(group='org.elasticsearch', module='elasticsearch-core', version='6.2.4')
)
compile