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.
This commit is contained in:
David Pilato 2014-03-07 17:19:30 +01:00
parent 79ac03e9c5
commit 7b89ac3458
2 changed files with 10 additions and 0 deletions

View File

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

View File

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