diff --git a/pom.xml b/pom.xml index f21bfb7..ec364ee 100644 --- a/pom.xml +++ b/pom.xml @@ -108,6 +108,23 @@ + + maven-assembly-plugin + + ${project.build.directory}/releases/ + + ${basedir}/src/main/assemblies/plugin.xml + + + + + package + + single + + + + \ No newline at end of file diff --git a/src/main/assemblies/plugin.xml b/src/main/assemblies/plugin.xml new file mode 100644 index 0000000..aeb7277 --- /dev/null +++ b/src/main/assemblies/plugin.xml @@ -0,0 +1,18 @@ + + + + + zip + + false + + + / + true + true + + org.elasticsearch:elasticsearch + + + + \ No newline at end of file diff --git a/src/main/resources/es-plugin.properties b/src/main/resources/es-plugin.properties new file mode 100644 index 0000000..fdb2222 --- /dev/null +++ b/src/main/resources/es-plugin.properties @@ -0,0 +1 @@ +plugin=org.elasticsearch.plugin.analysis.ik.AnalysisIkPlugin \ No newline at end of file