Skip to content

Commit fcdd0fe

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 #16.
1 parent f5cc94a commit fcdd0fe

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@
9393
</dependencies>
9494

9595
<build>
96+
<resources>
97+
<resource>
98+
<directory>src/main/resources</directory>
99+
<filtering>true</filtering>
100+
</resource>
101+
</resources>
96102
<plugins>
97103
<plugin>
98104
<groupId>org.apache.maven.plugins</groupId>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
plugin=org.elasticsearch.plugin.analysis.smartcn.AnalysisSmartChinesePlugin
2+
version=${project.version}

0 commit comments

Comments
 (0)