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 #16.
This commit is contained in:
David Pilato 2014-03-07 15:43:37 +01:00
parent c82c6530a0
commit 4f617d180c
2 changed files with 10 additions and 0 deletions

View File

@ -102,6 +102,15 @@
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>

View File

@ -1 +1,2 @@
plugin=org.elasticsearch.plugin.javascript.JavaScriptPlugin
version=${project.version}