Skip to content

Commit

Permalink
Add plugin version in es-plugin.properties
Browse files Browse the repository at this point in the history
With #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.
  • Loading branch information
dadoonet committed Mar 7, 2014
1 parent 79ac03e commit 7b89ac3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,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>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/es-plugin.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
plugin=org.elasticsearch.plugin.python.PythonPlugin
version=${project.version}

0 comments on commit 7b89ac3

Please sign in to comment.