Changed versioning of jar file to timestamp ( this is for CI ).

This commit is contained in:
ProSavage 2018-12-20 20:15:43 -06:00
parent d19b321438
commit 0907798df5

View File

@ -7,14 +7,16 @@
<version>1.6.9.5-U0.2.1-RC-1.5-BETA</version> <version>1.6.9.5-U0.2.1-RC-1.5-BETA</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Factions</name> <name>SavageFactions</name>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd--HH-mm</maven.build.timestamp.format>
</properties> </properties>
<build> <build>
<defaultGoal>clean package install</defaultGoal> <defaultGoal>clean install deploy</defaultGoal>
<finalName>${project.name}</finalName> <finalName>${project.name}</finalName>
<sourceDirectory>src/main/java</sourceDirectory> <sourceDirectory>src/main/java</sourceDirectory>
<resources> <resources>
@ -67,7 +69,7 @@
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version> <version>2.3.2</version>
<configuration> <configuration>
<finalName>SavageFactions-${project.version}</finalName> <finalName>Factions-${maven.build.timestamp}</finalName>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>