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-09 10:46:59 +01:00
parent f5cc94a1a2
commit fcdd0fe418
2 changed files with 7 additions and 0 deletions

View File

@ -93,6 +93,12 @@
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>

View File

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