From 77e8e1d6f2f3c544523587cff061afe47762e28a Mon Sep 17 00:00:00 2001 From: David Pilato Date: Wed, 23 Nov 2016 17:00:41 +0100 Subject: [PATCH] Update layout --- docs/java-rest/usage.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/java-rest/usage.asciidoc b/docs/java-rest/usage.asciidoc index 5ea2b36526c..864e18ced54 100644 --- a/docs/java-rest/usage.asciidoc +++ b/docs/java-rest/usage.asciidoc @@ -1,6 +1,6 @@ == Getting started -=== Maven Central Repository +=== Maven Repository The low-level Java REST client is hosted on http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.elasticsearch.client%22[Maven @@ -12,7 +12,7 @@ released with `5.0.0-alpha4`. There is no relation between the client version and the elasticsearch version that the client can communicate with. The low-level REST client is compatible with all elasticsearch versions. -=== Maven coordinates +==== Maven configuration Here is how you can configure the dependency using maven as a dependency manager. Add the following to your `pom.xml` file: @@ -26,7 +26,7 @@ Add the following to your `pom.xml` file: -------------------------------------------------- -=== Gradle coordinates +==== Gradle configuration Here is how you can configure the dependency using gradle as a dependency manager. Add the following to your `build.gradle` file: @@ -34,7 +34,7 @@ Add the following to your `build.gradle` file: ["source","groovy",subs="attributes"] -------------------------------------------------- dependencies { - compile group: 'org.elasticsearch.client', name: 'rest', version: '{version}' + compile 'org.elasticsearch.client:rest:{version}' } --------------------------------------------------