Skip to content

Commit

Permalink
Add plugin version in es-plugin.properties
Browse files Browse the repository at this point in the history
With elastic/elasticsearch#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 #50.
  • Loading branch information
dadoonet committed Mar 3, 2014
1 parent 229ba2c commit d02ca32
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 @@ -59,6 +59,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,2 +1,3 @@
plugin=org.elasticsearch.plugin.river.couchdb.CouchdbRiverPlugin
version=${project.version}

0 comments on commit d02ca32

Please sign in to comment.