# What is the recommended Maven repository?

**URL:** https://discuss.elastic.co/t/what-is-the-recommended-maven-repository/69076
**Category:** Elasticsearch
**Created:** [December 14, 2016, 7:48pm UTC](https://discuss.elastic.co/t/what-is-the-recommended-maven-repository/69076 "2016-12-14T19:48:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![David\_Klebanoff](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@David\_Klebanoff](https://discuss.elastic.co/u/David_Klebanoff)
#### Post date: [December 14, 2016, 7:48pm UTC](https://discuss.elastic.co/t/what-is-the-recommended-maven-repository/69076/1 "2016-12-14T19:48:31Z")

</div>

If you go to the most recent [Java API docs](https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/_maven_repository.html) it says to use Maven Central. However Maven Central appears to be missing the x-pack-transport.

> ```
> <dependency>
> <groupId>org.elasticsearch.client</groupId>
> <artifactId>x-pack-transport</artifactId>
> <version>5.1.1</version>
> </dependency>
> 
> ```

If you go to the current [Found Shield Example](https://github.com/elastic/found-shield-example/blob/master/pom.xml) it uses [https://artifacts.elastic.co/maven](https://artifacts.elastic.co/maven).

I've come across other docs that recommend [https://maven.elasticsearch.org/releases](https://maven.elasticsearch.org/releases).

I suspect the latest recommendations are to use Maven Central, so if that's the case it should probably be made sure that the x-pack-transport artifact makes its way into there.

Either way, some guidance would be appreciated. Thanks!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 11, 2017, 7:48pm UTC](https://discuss.elastic.co/t/what-is-the-recommended-maven-repository/69076/2 "2017-01-11T19:48:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
