From 7c1284817e1f75624d26a9bab450c779d7ea7bf0 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Mon, 17 Mar 2014 09:41:47 +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 #59. --- pom.xml | 6 ++++++ src/main/resources/es-plugin.properties | 1 + 2 files changed, 7 insertions(+) diff --git a/pom.xml b/pom.xml index 8475a315543..83fadb98077 100644 --- a/pom.xml +++ b/pom.xml @@ -143,6 +143,12 @@ + + + src/main/resources + true + + org.apache.maven.plugins diff --git a/src/main/resources/es-plugin.properties b/src/main/resources/es-plugin.properties index 43b40e7fc79..234aa512e2e 100644 --- a/src/main/resources/es-plugin.properties +++ b/src/main/resources/es-plugin.properties @@ -1,2 +1,3 @@ plugin=org.elasticsearch.plugin.cloud.aws.CloudAwsPlugin +version=${project.version}