Maven Repository

edit

Elasticsearch is hosted on Maven Central.

For example, you can define the latest version in your pom.xml file:

<dependency>
    <groupId>org.elasticsearch.client</groupId>
    <artifactId>transport</artifactId>
    <version>7.12.1</version>
</dependency>