Skip to content

Commit

Permalink
[DOCS] Update snapshot repo usage (#60791) (#60831)
Browse files Browse the repository at this point in the history
Clarify how to use our snapshot repository.  Several folks were confused about this just now, including myself.
  • Loading branch information
not-napoleon authored Aug 6, 2020
1 parent ff4ea47 commit fb7c431
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions docs/java-rest/high-level/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,27 @@ Central]. The minimum Java version required is `1.8`.
The High Level REST Client is subject to the same release cycle as
Elasticsearch. Replace the version with the desired client version.

If you are looking for a SNAPSHOT version, the Elastic Maven Snapshot repository is available
at https://snapshots.elastic.co/maven/.
If you are looking for a SNAPSHOT version, you should add our snapshot repository to your Maven config:

["source","xml",subs="attributes"]
--------------------------------------------------
<repositories>
<repository>
<id>es-snapshots</id>
<name>elasticsearch snapshot repo</name>
<url>https://snapshots.elastic.co/maven/</url>
</repository>
<repositories>
--------------------------------------------------

or in Gradle:

["source","groovy",subs="attributes"]
--------------------------------------------------
maven {
url "https://snapshots.elastic.co/maven/"
}
--------------------------------------------------

[[java-rest-high-getting-started-maven-maven]]
==== Maven configuration
Expand Down

0 comments on commit fb7c431

Please sign in to comment.