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 #26.
This commit is contained in:
David Pilato 2014-03-09 10:38:43 +01:00
parent 132ba63bc3
commit ef0cddbeb3
2 changed files with 6 additions and 13 deletions

18
pom.xml
View File

@ -102,31 +102,23 @@
<resources>
<resource>
<directory>${basedir}/src/main/java</directory>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.json</include>
<include>**/*.yml</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>**/*.*</include>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>${basedir}/src/test/java</directory>
<directory>src/test/java</directory>
<includes>
<include>**/*.json</include>
<include>**/*.yml</include>
<include>**/*.txt</include>
</includes>
</testResource>
<testResource>
<directory>${basedir}/src/test/resources</directory>
<directory>src/test/resources</directory>
<includes>
<include>**/*.*</include>
</includes>

View File

@ -1 +1,2 @@
plugin=org.elasticsearch.plugin.analysis.kuromoji.AnalysisKuromojiPlugin
version=${project.version}