From a3c499cf2cba419a6cb6ee5eebe915b7e2636303 Mon Sep 17 00:00:00 2001 From: Alexander Reelsen Date: Mon, 13 Dec 2021 15:16:30 +0100 Subject: [PATCH] Update to Elasticsearch 8.0.0-beta1 --- README.md | 1 + build.gradle | 4 ++++ gradle.properties | 2 +- .../elasticsearch/ingest/opennlp/OpenNlpProcessorTests.java | 6 +++--- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8424704..067d66f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ This plugin is also intended to show you, that using gradle as a build system ma | ES | Command | | ----- | ------- | +| 8.0.0-beta1 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/8.0.0-beta1.1/ingest-opennlp-8.0.0-beta1.1.zip` | | 8.0.0-alpha2 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/8.0.0-alpha2.1/ingest-opennlp-8.0.0-alpha2.1.zip` | | 7.16.1 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/7.16.1.1/ingest-opennlp-7.16.1.1.zip` | | 7.16.0 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/7.16.0.1/ingest-opennlp-7.16.0.1.zip` | diff --git a/build.gradle b/build.gradle index f411811..3124d26 100644 --- a/build.gradle +++ b/build.gradle @@ -25,6 +25,10 @@ plugins { repositories { mavenCentral() + maven { + // only needed for beta1, can be removed after upgrading to newer version + url = 'https://s3.amazonaws.com/download.elasticsearch.org/lucenesnapshots/cc2a31f2be8' + } } group = 'de.spinscale.elasticsearch.plugin.ingest' diff --git a/gradle.properties b/gradle.properties index 9d9694c..0c33bd2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -elasticsearchVersion = 8.0.0-alpha2 +elasticsearchVersion = 8.0.0-beta1 diff --git a/src/test/java/de/spinscale/elasticsearch/ingest/opennlp/OpenNlpProcessorTests.java b/src/test/java/de/spinscale/elasticsearch/ingest/opennlp/OpenNlpProcessorTests.java index 5b02504..18face7 100644 --- a/src/test/java/de/spinscale/elasticsearch/ingest/opennlp/OpenNlpProcessorTests.java +++ b/src/test/java/de/spinscale/elasticsearch/ingest/opennlp/OpenNlpProcessorTests.java @@ -19,9 +19,9 @@ import org.elasticsearch.action.ingest.SimulateProcessorResult; import org.elasticsearch.common.settings.Settings; -import org.elasticsearch.common.xcontent.ToXContent; -import org.elasticsearch.common.xcontent.XContentBuilder; -import org.elasticsearch.common.xcontent.XContentFactory; +import org.elasticsearch.xcontent.ToXContent; +import org.elasticsearch.xcontent.XContentBuilder; +import org.elasticsearch.xcontent.XContentFactory; import org.elasticsearch.core.PathUtils; import org.elasticsearch.core.Tuple; import org.elasticsearch.ingest.IngestDocument;