Attempting to write an x-pack custom realm based on : https://github.com/elastic/shield-custom-realm-example
Attempting to add the elasticsearch-releases repo to nexus as a proxy repository but getting an error:
jvm 1 | 2017-04-04 12:22:38 WARN [y-3-thread-5500] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Remote peer of proxy repository "elasticsearch-releases" [id=elastic] threw a org.sonatype.nexus.proxy.ItemNotFoundException exception. - Cause(s): Item not found for request "ResourceStoreRequest(requestPath="/")" in repository ""elasticsearch-releases" [id=elastic]"!
Then an attempt to build yeilds:
Downloading: http://district9:8081/nexus/content/groups/public/org/elasticsearch/plugin/x-pack-api/5.1.1/x-pack-api-5.1.1.pom
[WARNING] The POM for org.elasticsearch.plugin:x-pack-api:jar:5.1.1 is missing, no dependency information available
In my pom.xml:
<repositories>
<repository>
<id>elastic</id>
<name>elasticsearch-releases</name>
<url>https://artifacts.elastic.co/maven</url>
</repository>
</repositories>
Versions:
- elasticsearch and x-pack-api : 5.1.1
- maven: 3.3.9
- nexus: 2.3 (pretty old)