|
@@ -43,6 +43,37 @@ For example, you can define the latest version in your `pom.xml` file:
|
|
|
</dependency>
|
|
|
--------------------------------------------------
|
|
|
|
|
|
+[[java-transport-usage-maven-lucene]]
|
|
|
+==== Lucene Snapshot repository
|
|
|
+
|
|
|
+The very first releases of any major version (like a beta), might have been built on top of a Lucene Snapshot version.
|
|
|
+In such a case you will be unable to resolve the Lucene dependencies of the client.
|
|
|
+
|
|
|
+For example, if you want to use the `6.0.0-beta1` version which depends on Lucene `7.0.0-snapshot-00142c9`, you must
|
|
|
+define the following repository.
|
|
|
+
|
|
|
+For Maven:
|
|
|
+
|
|
|
+["source","xml",subs="attributes"]
|
|
|
+--------------------------------------------------
|
|
|
+<repository>
|
|
|
+ <id>elastic-lucene-snapshots</id>
|
|
|
+ <name>Elastic Lucene Snapshots</name>
|
|
|
+ <url>http://s3.amazonaws.com/download.elasticsearch.org/lucenesnapshots/00142c9</url>
|
|
|
+ <releases><enabled>true</enabled></releases>
|
|
|
+ <snapshots><enabled>false</enabled></snapshots>
|
|
|
+</repository>
|
|
|
+--------------------------------------------------
|
|
|
+
|
|
|
+For Gradle:
|
|
|
+
|
|
|
+["source","groovy",subs="attributes"]
|
|
|
+--------------------------------------------------
|
|
|
+maven {
|
|
|
+ url 'http://s3.amazonaws.com/download.elasticsearch.org/lucenesnapshots/00142c9'
|
|
|
+}
|
|
|
+--------------------------------------------------
|
|
|
+
|
|
|
=== Log4j 2 Logger
|
|
|
|
|
|
You need to also include Log4j 2 dependencies:
|