diff --git a/pom.xml b/pom.xml
index 562cb4e..430a3a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,13 +11,17 @@
Elasticsearch Plugin for Phone and SIP Analysis
https://github.com/MyPureCloud/elasticsearch-phone
+
UTF-8
1.8
5.1.1
6.3.0
- 4.12
- 2.5.3
+ 4.11
+ 2.4.0
3.1
+ 1.8
+ 1.8
2.7.2
${basedir}/src/main/assemblies/plugin.xml
@@ -178,6 +182,17 @@
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ 1.6.3
+ true
+
+ ossrh
+ https://oss.sonatype.org/
+ true
+
+
org.apache.maven.plugins
maven-javadoc-plugin
@@ -194,19 +209,14 @@
org.apache.maven.plugins
maven-compiler-plugin
- ${maven-compiler-plugin.version}
-
-
- ${project.build.sourceVersion}
-
+
+
+ com.carrotsearch.randomizedtesting
+ junit4-maven-plugin
org.apache.maven.plugins
maven-surefire-plugin
- 2.9
-
- -Dtests.security.manager=false
-
@@ -224,7 +234,7 @@
maven-assembly-plugin
- 2.6
+ 2.3
false
${project.build.directory}/releases/
diff --git a/src/main/java/org/elasticsearch/index/analysis/PhoneEmailAnalyzer.java b/src/main/java/org/elasticsearch/index/analysis/PhoneEmailAnalyzer.java
index e93a7c9..1114fa5 100644
--- a/src/main/java/org/elasticsearch/index/analysis/PhoneEmailAnalyzer.java
+++ b/src/main/java/org/elasticsearch/index/analysis/PhoneEmailAnalyzer.java
@@ -9,7 +9,7 @@
public class PhoneEmailAnalyzer extends Analyzer {
@Override
- protected TokenStreamComponents createComponents(String field) {
+ protected TokenStreamComponents createComponents(String fieldName) {
TermExtractorTokenizer tokenizer = new TermExtractorTokenizer(new PhoneTermExtractor(), new EmailTermExtractor());
return new TokenStreamComponents(tokenizer, new UniqueTokenFilter(tokenizer));
}