Hi I am want to download x-pack-api-5.5.3.jar but it is giving me error while downloading it using POM
And I am unable to find the jar for download
I got x-pack-transport-5.5.3.jar from https://www.elastic.co/guide/en/x-pack/5.5/api-java.html
Kindly tell me link or other ways to download the x-pack-api-5.5.3.jar
dadoonet
(David Pilato)
March 13, 2018, 6:36am
2
What does your pom.xml
look like?
<properties>
<es.version>5.5.3</es.version><!--5.4.1 -->
<versions.lucene>6.6.0</versions.lucene><!-- 6.4.2 -->
<versions.log4j>2.8.2</versions.log4j>
</properties>
<dependencies>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>${es.version}</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.elasticsearch.plugin</groupId>
<artifactId>x-pack-api</artifactId>
<version>${es.version}</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>jna</artifactId>
<version>4.4.0</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.elasticsearch.test</groupId>
<artifactId>framework</artifactId>
<version>${es.version}</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>x-pack-transport</artifactId>
<version>${es.version}</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-test-framework</artifactId>
<version>${versions.lucene}</version>
</dependency>
TimV
(Tim Vernum)
March 13, 2018, 6:53am
4
Have you included the artifacts.elastic.co/maven
repository as described in the documentation (that you linked to)?
It isn't shown in the POM you just pasted.
<repositories>
<repository>
<id>elasticsearch-releases</id>
<url>https://artifacts.elastic.co/maven</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Central Repository</name>
<url>http://repo.maven.apache.org/maven2</url>
</pluginRepository>
</pluginRepositories>
TimV
(Tim Vernum)
March 13, 2018, 8:37am
6
What error are you getting?
I just pasted your snippets into a clean POM file and everything downloaded OK:
Downloading: https://artifacts.elastic.co/maven/org/elasticsearch/elasticsearch/5.5.3/elasticsearch-5.5.3.pom
Downloaded: https://artifacts.elastic.co/maven/org/elasticsearch/elasticsearch/5.5.3/elasticsearch-5.5.3.pom (13 KB at 5.6 KB/sec)
Downloading: https://artifacts.elastic.co/maven/org/elasticsearch/plugin/x-pack-api/5.5.3/x-pack-api-5.5.3.pom
Downloaded: https://artifacts.elastic.co/maven/org/elasticsearch/plugin/x-pack-api/5.5.3/x-pack-api-5.5.3.pom (6 KB at 9.3 KB/sec)
...
Downloading: https://artifacts.elastic.co/maven/org/elasticsearch/plugin/x-pack-api/5.5.3/x-pack-api-5.5.3.jar
...
Downloaded: https://artifacts.elastic.co/maven/org/elasticsearch/plugin/x-pack-api/5.5.3/x-pack-api-5.5.3.jar (3558 KB at 435.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/elasticsearch/elasticsearch/5.5.3/elasticsearch-5.5.3.jar
...
Downloaded: https://repo.maven.apache.org/maven2/org/elasticsearch/elasticsearch/5.5.3/elasticsearch-5.5.3.jar (9805 KB at 1330.7 KB/sec)
Okay let me look into it thanks
system
(system)
Closed
April 10, 2018, 9:03am
8
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.