Elastic Maven Repository Down?

Is the Maven repository at https://artifacts.elastic.co/maven still functioning? Index pages do not get served and maven can't seem to use it as a valid repository. From other community board posts it seems Elasticsearch used jcenter bintray as their artifact hosting provider, but that service was announced to be shut down in Feb 2021 with the final shut down date some time in Feb or March 2022. My company still has some old Elasticsearch components that depend on artifacts from the Elasticsearch repo that are not available in Maven Central. Does anyone know if Elasticsearch plans on somehow restoring the old repository or moving older artifacts to Maven Central?


it's in use (for example debian/rpm packages). It would help show, what is not reachable right now, but has been earlier, so we can take a look.



The repo in question is the maven repo and not the debian or rpm repo. Here is a minimal maven pom.xml that demonstrates the problem:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <name>Elastic Repository Test</name>




          <name>Elasticsearch Releases</name>


The resulting error is:

[ERROR] Failed to execute goal on project elastic-repo-test: Could not resolve dependencies for project com.foo:elastic-repo-test:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.Elasticsearch.plugin:license:jar:2.4.6: Failed to read artifact descriptor for org.Elasticsearch.plugin:license:jar:2.4.6: Could not find artifact org.Elasticsearch:license:pom:2.4.6 in Elasticsearch-releases (https://artifacts.elastic.co/maven) -> [Help 1]

It looks like it can find the org.Elasticsearch.plugin:license artifact, but that artifact refers to the org.Elasticsearch:license artifact (without -plugin) and can't find it. Also, fyi, it looks like the web editor is always capitalising Elasticsearch.

This release is from almost 5 years ago, so it's supported anymore. You can get the jars by downloading the plugin (bin/plugin install license) and extract it manually.

Even though I'd rather recommend upgrading, than working on anything that old (think of security reasons).

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