Elasticsearch on YARN binaries can be obtained either by downloading them from the elastic.co site as a ZIP (containing project jars, sources and documentation) or by using any Maven-compatible tool with the following dependency:
<dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch-yarn</artifactId> <version>5.6.3</version> </dependency>
The jar above contains Elasticsearch on YARN and does not require any other dependencies at runtime; in other words it can be used as is.
Development (or nightly or snapshots) builds are published daily at sonatype-oss repository (see below). Make sure to use snapshot versioning:
but also enable the dedicated snapshots repository :