Skip to content

Commit 033a709

Browse files
committed
Dependencies: Update to Elasticsearch 6.4.0
implies gradle wrapper upgrade to 4.9 and removing unused import due to new checkstyle rule
1 parent 7f054a4 commit 033a709

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This plugin is also intended to show you, that using gradle as a build system ma
1010

1111
| ES | Command |
1212
| ----- | ------- |
13+
| 6.4.0 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/6.4.0.1/ingest-opennlp-6.4.0.1.zip` |
1314
| 6.3.2 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/6.3.2.1/ingest-opennlp-6.3.2.1.zip` |
1415
| 6.3.1 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/6.3.1.1/ingest-opennlp-6.3.1.1.zip` |
1516
| 6.3.0 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/6.3.0.1/ingest-opennlp-6.3.0.1.zip` |

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath "org.elasticsearch.gradle:build-tools:6.3.2"
11+
classpath "org.elasticsearch.gradle:build-tools:6.4.0"
1212
}
1313
}
1414

@@ -20,10 +20,11 @@ plugins {
2020
import de.undercouch.gradle.tasks.download.Download
2121

2222
group = 'de.spinscale.elasticsearch.plugin.ingest'
23-
version = '6.3.2.1-SNAPSHOT'
23+
version = '6.4.0.1-SNAPSHOT'
2424

2525
apply plugin: 'java'
2626
apply plugin: 'idea'
27+
apply plugin: 'eclipse'
2728
apply plugin: 'elasticsearch.esplugin'
2829

2930
// license of this project

gradle/wrapper/gradle-wrapper.jar

0 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/java/de/spinscale/elasticsearch/ingest/opennlp/IngestOpenNlpPlugin.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
import org.elasticsearch.common.settings.Setting;
2121
import org.elasticsearch.common.settings.Setting.Property;
22-
import org.elasticsearch.common.settings.Settings;
2322
import org.elasticsearch.ingest.Processor;
2423
import org.elasticsearch.plugins.IngestPlugin;
2524
import org.elasticsearch.plugins.Plugin;
@@ -30,8 +29,6 @@
3029
import java.util.List;
3130
import java.util.Map;
3231

33-
import static org.elasticsearch.common.settings.Setting.groupSetting;
34-
3532
public class IngestOpenNlpPlugin extends Plugin implements IngestPlugin {
3633

3734
public static final Setting.AffixSetting<String> MODEL_FILE_SETTINGS =
@@ -50,4 +47,4 @@ public Map<String, Processor.Factory> getProcessors(Processor.Parameters paramet
5047

5148
return Collections.singletonMap(OpenNlpProcessor.TYPE, new OpenNlpProcessor.Factory(openNlpService));
5249
}
53-
}
50+
}

0 commit comments

Comments
 (0)