Skip to content

Commit 7a1dfe6

Browse files
committed
Updated the build to inject the version into the properties file. This way the proper version is in elastic.
1 parent 7c5d368 commit 7a1dfe6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,16 @@
114114

115115

116116
<build>
117+
<resources>
118+
<resource>
119+
<directory>src/main/resources</directory>
120+
<filtering>true</filtering>
121+
<includes>
122+
<include>es-plugin.properties</include>
123+
</includes>
124+
</resource>
125+
</resources>
126+
117127
<plugins>
118128
<plugin>
119129
<artifactId>maven-compiler-plugin</artifactId>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
plugin=org.elasticsearch.plugin.nlpcn.SqlPlug
1+
plugin=org.elasticsearch.plugin.nlpcn.SqlPlug
2+
version=${project.version}

0 commit comments

Comments
 (0)