From 8e538075501eba789e5edc667b581182fbceba53 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Mon, 3 Mar 2014 22:36:04 +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 #21. --- pom.xml | 10 ++++++++++ src/main/resources/es-plugin.properties | 1 + 2 files changed, 11 insertions(+) diff --git a/pom.xml b/pom.xml index 9733db0..246ef2c 100644 --- a/pom.xml +++ b/pom.xml @@ -94,6 +94,16 @@ + + + src/main/resources + true + + **/*.properties + + + + src/test/resources diff --git a/src/main/resources/es-plugin.properties b/src/main/resources/es-plugin.properties index 38b8df1..8de2ad0 100644 --- a/src/main/resources/es-plugin.properties +++ b/src/main/resources/es-plugin.properties @@ -1,2 +1,3 @@ plugin=org.elasticsearch.plugin.river.wikipedia.WikipediaRiverPlugin +version=${project.version}