Add build number to version and fix authors in plugin.yml

This commit is contained in:
Phoenix616 2017-02-26 21:33:37 +01:00
parent 583c50438c
commit 90a463abcd
2 changed files with 32 additions and 2 deletions

29
pom.xml
View File

@ -317,6 +317,35 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<build.number>${buildNumber}</build.number>
<bukkit.plugin.version>${project.version} ${buildDescription}</bukkit.plugin.version>
</properties> </properties>
<profiles>
<profile>
<id>static_build_number</id>
<activation>
<property>
<name>!env.BUILD_NUMBER</name>
</property>
</activation>
<properties>
<buildNumber>0</buildNumber>
<buildDescription>(manually compiled)</buildDescription>
</properties>
</profile>
<profile>
<id>dynamic_build_number</id>
<activation>
<property>
<name>env.BUILD_NUMBER</name>
</property>
</activation>
<properties>
<buildNumber>${env.BUILD_NUMBER}</buildNumber>
<buildDescription>(build #${env.BUILD_NUMBER})</buildDescription>
</properties>
</profile>
</profiles>
</project> </project>

View File

@ -1,7 +1,8 @@
name: ChestShop name: ChestShop
main: com.Acrobot.ChestShop.ChestShop main: com.Acrobot.ChestShop.ChestShop
version: ${project.version} version: ${bukkit.plugin.version}
author: [Acrobot, dmulloy2, L4BORG] author: Acrobot
authors: [dmulloy2, L4BORG, Phoenix616]
description: A chest shop for economy plugins. description: A chest shop for economy plugins.
depend: [Vault] depend: [Vault]
softdepend: [LWC, Lockette, Deadbolt, OddItem, WorldGuard, Heroes, SimpleChestLock, Residence] softdepend: [LWC, Lockette, Deadbolt, OddItem, WorldGuard, Heroes, SimpleChestLock, Residence]