From 7b89ac3458257f2e3700d1acc0db3b7ad6ebbdee Mon Sep 17 00:00:00 2001 From: David Pilato Date: Fri, 7 Mar 2014 17:19:30 +0100 Subject: [PATCH] Add plugin version in es-plugin.properties With https://github.com/elasticsearch/elasticsearch/issues/2784, we can now add plugin version in `es-plugin.properties` file. It will only be used with elasticsearch 1.0.0 and upper. No need to push it in 1.x branch. Closes #9. --- pom.xml | 9 +++++++++ src/main/resources/es-plugin.properties | 1 + 2 files changed, 10 insertions(+) diff --git a/pom.xml b/pom.xml index 8ab6eef..f7035f0 100644 --- a/pom.xml +++ b/pom.xml @@ -100,6 +100,15 @@ + + + src/main/resources + true + + **/*.properties + + + org.apache.maven.plugins diff --git a/src/main/resources/es-plugin.properties b/src/main/resources/es-plugin.properties index a24df54..b0ed0d5 100644 --- a/src/main/resources/es-plugin.properties +++ b/src/main/resources/es-plugin.properties @@ -1 +1,2 @@ plugin=org.elasticsearch.plugin.python.PythonPlugin +version=${project.version}