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 #16.
  • Loading branch information
dadoonet committed Mar 7, 2014
1 parent c82c653 commit 4f617d1
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 @@ -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>
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.javascript.JavaScriptPlugin
version=${project.version}

0 comments on commit 4f617d1

Please sign in to comment.