Skip to content

Commit 1559549

Browse files
committed
build: Add version.properties file to grab the project version
1 parent 47b8546 commit 1559549

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
@@ -270,6 +270,12 @@
270270
</executions>
271271
</plugin>
272272
</plugins>
273+
<resources>
274+
<resource>
275+
<directory>src/main/resources</directory>
276+
<filtering>true</filtering>
277+
</resource>
278+
</resources>
273279
</build>
274280

275281
<developers>

src/main/resources/version.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version=${project.version}

0 commit comments

Comments
 (0)