Dynamic build dates - see #526

This commit is contained in:
md_5
2013-09-10 11:36:49 +10:00
parent ffdb917f2c
commit 49cffebd9b
2 changed files with 23 additions and 8 deletions

View File

@@ -18,6 +18,10 @@
<name>BungeeCord-Proxy</name>
<description>Proxy component of the Elastic Portal Suite</description>
<properties>
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
</properties>
<dependencies>
<dependency>
<groupId>com.google.code.gson</groupId>
@@ -71,6 +75,12 @@
<build>
<finalName>BungeeCord</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<!-- Don't deploy proxy to maven repo, only APIs -->
@@ -89,6 +99,7 @@
<manifestEntries>
<Main-Class>net.md_5.bungee.BungeeCord</Main-Class>
<Implementation-Version>${describe}</Implementation-Version>
<Specification-Version>${maven.build.timestamp}</Specification-Version>
</manifestEntries>
</archive>
</configuration>