X-Pack 5.0 Beta 1 is not available in Maven repository


(Lukas Hartmann) #1

It seems like the 5.0.0-beta1 artifact is still missing: https://maven.elasticsearch.org/releases/org/elasticsearch/plugin/x-pack/
When is it scheduled to be released?

BTW https://www.elastic.co/guide/en/x-pack/current/java-clients.html is pointing to https://artifacts.elastic.co/maven, which does not work either.


(David Pilato) #2

The Maven repository is available. For example: https://artifacts.elastic.co/maven/org/elasticsearch/plugin/x-pack/5.0.0-beta1/x-pack-5.0.0-beta1.pom

It does not mean that you can list files but the it's a Maven compatible repo.


(David Pilato) #3

BTW how do you want to use this X-Pack artifact?

You should be using this one: https://artifacts.elastic.co/maven/org/elasticsearch/client/x-pack-transport/5.0.0-beta1/x-pack-transport-5.0.0-beta1.pom

As explained in the doc:

   <dependencies>
      <!-- add the x-pack jar as a dependency -->
      <dependency>
         <groupId>org.elasticsearch.client</groupId>
         <artifactId>x-pack-transport</artifactId>
         <version>5.0.0</version>
      </dependency>
   </dependencies>

(Lukas Hartmann) #4

I am now using the x-pack-transport artifact and it is working just fine. Thank you very much!


(Avneesh Atri) #5

Thanks for the details realy helped .


(Shivang Shah) #6

This actually doesn't work all the time. I opened up a github issue for this: https://github.com/elastic/elasticsearch/issues/21286

Any thoughts?


(system) #7