Skip to content

Commit 7b89ac3

Browse files
committed
Add plugin version in es-plugin.properties
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.
1 parent 79ac03e commit 7b89ac3

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
@@ -100,6 +100,15 @@
100100
</dependencies>
101101

102102
<build>
103+
<resources>
104+
<resource>
105+
<directory>src/main/resources</directory>
106+
<filtering>true</filtering>
107+
<includes>
108+
<include>**/*.properties</include>
109+
</includes>
110+
</resource>
111+
</resources>
103112
<plugins>
104113
<plugin>
105114
<groupId>org.apache.maven.plugins</groupId>
+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
plugin=org.elasticsearch.plugin.python.PythonPlugin
2+
version=${project.version}

0 commit comments

Comments
 (0)