added build-version property for jar name
This commit is contained in:
parent
06eb3ac182
commit
bf868e4318
1 changed files with 8 additions and 0 deletions
8
pom.xml
8
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue