Skip to content
This repository was archived by the owner on Jan 31, 2024. It is now read-only.

Commit 4a04107

Browse files
committed
Add plugin version in es-plugin.properties
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 #22.
1 parent eb9db8c commit 4a04107

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

pom.xml

+9
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@
141141
</dependencies>
142142

143143
<build>
144+
<resources>
145+
<resource>
146+
<directory>src/main/resources</directory>
147+
<filtering>true</filtering>
148+
<includes>
149+
<include>**/*.properties</include>
150+
</includes>
151+
</resource>
152+
</resources>
144153
<plugins>
145154
<plugin>
146155
<groupId>org.apache.maven.plugins</groupId>
+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
plugin=org.elasticsearch.plugin.transport.thrift.ThriftTransportPlugin
2+
version=${project.version}

0 commit comments

Comments
 (0)