Skip to content

Update Maven coordinates #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 4 additions & 22 deletions docs/installation.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Requirements:
https://github.com/eclipse-ee4j/yasson[Eclipse Yasson].


The GA releases are hosted on Maven Central. Snapshot versions are hosted on
https://snapshots.elastic.co/maven/[Elastic's Maven snapshot repository].
Releases are hosted on https://search.maven.org/search?q=g:co.elastic.clients[Maven Central]. If you are looking for
a SNAPSHOT version, the Elastic Maven Snapshot repository is available at https://snapshots.elastic.co/maven/.


[discrete]
Expand All @@ -29,16 +29,8 @@ https://snapshots.elastic.co/maven/[Elastic's Maven snapshot repository].

["source","groovy",subs="attributes"]
--------------------------------------------------
repositories {
mavenCentral()
maven {
name = "Elastic-Snapshots"
url = uri("https://snapshots.elastic.co/maven")
}
}

dependencies {
implementation 'co.elastic.clients:elasticsearch-java:7.15.0-SNAPSHOT'
implementation 'co.elastic.clients:elasticsearch-java:7.15.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
}
--------------------------------------------------
Expand All @@ -54,16 +46,6 @@ dependencies:
--------------------------------------------------
<project>

<repositories>
<repository>
<id>Elastic-Snapshots</id>
<url>https://snapshots.elastic.co/maven</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>co.elastic.clients</groupId>
Expand Down Expand Up @@ -91,4 +73,4 @@ from the {es} Specification that is also still a work in progress.
The {es} Java client is forward compatible; meaning that the client supports
communicating with greater or equal minor versions of {es}. {es} language
clients are only backwards compatible with default distributions and without
guarantees made.
guarantees made.