added build-version property for jar name

This commit is contained in:
anhefti 2020-05-06 20:02:30 +02:00
parent 06eb3ac182
commit bf868e4318

View file

@ -19,6 +19,7 @@
<properties>
<sebserver-version>1.0.0</sebserver-version>
<build-version>${sebserver-version}</build-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
@ -44,6 +45,13 @@
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<finalName>${project.artifactId}-${build-version}</finalName>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>