Implement new versioning as per #1873 (#1882)

This commit is contained in:
md678685 2018-03-29 04:00:19 +01:00 committed by Trent Hensler
parent 823f1c2ee3
commit 613e852ffd
40 changed files with 96 additions and 52 deletions

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>
<artifactId>EssentialsXParent</artifactId> <artifactId>EssentialsXParent</artifactId>
<version>2.0.1</version> <version>2.15.0</version>
</parent> </parent>
<artifactId>EssentialsX</artifactId> <artifactId>EssentialsX</artifactId>
@ -19,6 +19,7 @@
</licenses> </licenses>
<build> <build>
<finalName>EssentialsX-${full.version}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>

View File

@ -13,7 +13,7 @@
# If you have problems join the Essentials help support channel: http://tiny.cc/EssentialsChat # If you have problems join the Essentials help support channel: http://tiny.cc/EssentialsChat
# Version ${project.version}-b${build.number} # Version ${full.version}
# KITS ARE NOW IN THE kits.yml FILE # KITS ARE NOW IN THE kits.yml FILE

View File

@ -1,4 +1,4 @@
#version: ${project.version}-b${build.number} #version: ${full.version}
#If you change this file, it will not be automatically updated after the next release. #If you change this file, it will not be automatically updated after the next release.
#item,id,metadata #item,id,metadata
stone,1,0 stone,1,0

1 #version: ${project.version}-b${build.number} #version: ${full.version}
2 #If you change this file, it will not be automatically updated after the next release.
3 #item,id,metadata
4 stone,1,0

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.com #X-Generator: crowdin.com
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Début des traductions # Début des traductions
# EssentialsX a été traduit par la communauté française. # EssentialsX a été traduit par la communauté française.

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: montlikadani # by: montlikadani

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# Updated by RikoDEV # Updated by RikoDEV

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -1,5 +1,5 @@
#X-Generator: crowdin.net #X-Generator: crowdin.net
#version: ${project.version}-b${build.number} #version: ${full.version}
# Single quotes have to be doubled: '' # Single quotes have to be doubled: ''
# Translations start here # Translations start here
# by: # by:

View File

@ -2,7 +2,7 @@
name: Essentials name: Essentials
main: com.earth2me.essentials.Essentials main: com.earth2me.essentials.Essentials
# Note to developers: This next line cannot change, or the automatic versioning system will break. # Note to developers: This next line cannot change, or the automatic versioning system will break.
version: ${project.version}-b${build.number} version: ${full.version}
website: http://tiny.cc/EssentialsCommands website: http://tiny.cc/EssentialsCommands
description: Provides an essential, core set of commands for Bukkit. description: Provides an essential, core set of commands for Bukkit.
softdepend: [Vault] softdepend: [Vault]

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>
<artifactId>EssentialsXParent</artifactId> <artifactId>EssentialsXParent</artifactId>
<version>2.0.1</version> <version>2.15.0</version>
</parent> </parent>
<artifactId>EssentialsXAntiBuild</artifactId> <artifactId>EssentialsXAntiBuild</artifactId>
@ -18,6 +18,10 @@
</license> </license>
</licenses> </licenses>
<build>
<finalName>EssentialsXAntiBuild-${full.version}</finalName>
</build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>

View File

@ -2,7 +2,7 @@
name: EssentialsAntiBuild name: EssentialsAntiBuild
main: com.earth2me.essentials.antibuild.EssentialsAntiBuild main: com.earth2me.essentials.antibuild.EssentialsAntiBuild
# Note to developers: This next line cannot change, or the automatic versioning system will break. # Note to developers: This next line cannot change, or the automatic versioning system will break.
version: ${project.version}-b${build.number} version: ${full.version}
website: http://tiny.cc/EssentialsCommands website: http://tiny.cc/EssentialsCommands
description: Provides build protection. description: Provides build protection.
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, Iaccidentally] authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, Iaccidentally]

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>
<artifactId>EssentialsXParent</artifactId> <artifactId>EssentialsXParent</artifactId>
<version>2.0.1</version> <version>2.15.0</version>
</parent> </parent>
<artifactId>EssentialsXChat</artifactId> <artifactId>EssentialsXChat</artifactId>
@ -18,6 +18,10 @@
</license> </license>
</licenses> </licenses>
<build>
<finalName>EssentialsXChat-${full.version}</finalName>
</build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>

View File

@ -2,7 +2,7 @@
name: EssentialsChat name: EssentialsChat
main: com.earth2me.essentials.chat.EssentialsChat main: com.earth2me.essentials.chat.EssentialsChat
# Note to developers: This next line cannot change, or the automatic versioning system will break. # Note to developers: This next line cannot change, or the automatic versioning system will break.
version: ${project.version}-b${build.number} version: ${full.version}
website: http://tiny.cc/EssentialsCommands website: http://tiny.cc/EssentialsCommands
description: Provides chat control features for Essentials. Requires Permissions. description: Provides chat control features for Essentials. Requires Permissions.
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Okamosy, Iaccidentally] authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Okamosy, Iaccidentally]

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>
<artifactId>EssentialsXParent</artifactId> <artifactId>EssentialsXParent</artifactId>
<version>2.0.1</version> <version>2.15.0</version>
</parent> </parent>
<artifactId>EssentialsXGeoIP</artifactId> <artifactId>EssentialsXGeoIP</artifactId>
@ -43,6 +43,7 @@
</dependencies> </dependencies>
<build> <build>
<finalName>EssentialsXGeoIP-${full.version}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>

View File

@ -2,7 +2,7 @@
name: EssentialsGeoIP name: EssentialsGeoIP
main: com.earth2me.essentials.geoip.EssentialsGeoIP main: com.earth2me.essentials.geoip.EssentialsGeoIP
# Note to developers: This next line cannot change, or the automatic versioning system will break. # Note to developers: This next line cannot change, or the automatic versioning system will break.
version: ${project.version}-b${build.number} version: ${full.version}
website: http://tiny.cc/EssentialsCommands website: http://tiny.cc/EssentialsCommands
description: Shows the country or city of a user on login and /whois. description: Shows the country or city of a user on login and /whois.
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, kjiang] authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, kjiang]

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>
<artifactId>EssentialsXParent</artifactId> <artifactId>EssentialsXParent</artifactId>
<version>2.0.1</version> <version>2.15.0</version>
</parent> </parent>
<artifactId>EssentialsXProtect</artifactId> <artifactId>EssentialsXProtect</artifactId>
@ -18,6 +18,10 @@
</license> </license>
</licenses> </licenses>
<build>
<finalName>EssentialsXProtect-${full.version}</finalName>
</build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>

View File

@ -2,7 +2,7 @@
name: EssentialsProtect name: EssentialsProtect
main: com.earth2me.essentials.protect.EssentialsProtect main: com.earth2me.essentials.protect.EssentialsProtect
# Note to developers: This next line cannot change, or the automatic versioning system will break. # Note to developers: This next line cannot change, or the automatic versioning system will break.
version: ${project.version}-b${build.number} version: ${full.version}
website: http://tiny.cc/EssentialsCommands website: http://tiny.cc/EssentialsCommands
description: Provides protection for various parts of the world. description: Provides protection for various parts of the world.
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits] authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits]

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>
<artifactId>EssentialsXParent</artifactId> <artifactId>EssentialsXParent</artifactId>
<version>2.0.1</version> <version>2.15.0</version>
</parent> </parent>
<artifactId>EssentialsXSpawn</artifactId> <artifactId>EssentialsXSpawn</artifactId>
@ -18,6 +18,10 @@
</license> </license>
</licenses> </licenses>
<build>
<finalName>EssentialsXSpawn-${full.version}</finalName>
</build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>

View File

@ -2,7 +2,7 @@
name: EssentialsSpawn name: EssentialsSpawn
main: com.earth2me.essentials.spawn.EssentialsSpawn main: com.earth2me.essentials.spawn.EssentialsSpawn
# Note to developers: This next line cannot change, or the automatic versioning system will break. # Note to developers: This next line cannot change, or the automatic versioning system will break.
version: ${project.version}-b${build.number} version: ${full.version}
website: http://tiny.cc/EssentialsCommands website: http://tiny.cc/EssentialsCommands
description: Provides spawn control commands, utilizing Essentials. description: Provides spawn control commands, utilizing Essentials.
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits] authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits]

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>
<artifactId>EssentialsXParent</artifactId> <artifactId>EssentialsXParent</artifactId>
<version>2.0.1</version> <version>2.15.0</version>
</parent> </parent>
<artifactId>EssentialsXXMPP</artifactId> <artifactId>EssentialsXXMPP</artifactId>
@ -31,7 +31,10 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<finalName>EssentialsXXMPP-${full.version}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>

View File

@ -2,7 +2,7 @@
name: EssentialsXMPP name: EssentialsXMPP
main: com.earth2me.essentials.xmpp.EssentialsXMPP main: com.earth2me.essentials.xmpp.EssentialsXMPP
# Note to developers: This next line cannot change, or the automatic versioning system will break. # Note to developers: This next line cannot change, or the automatic versioning system will break.
version: ${project.version}-b${build.number} version: ${full.version}
website: http://ess.khhq.net/wiki/XMPP website: http://ess.khhq.net/wiki/XMPP
description: Provides xmpp communication. description: Provides xmpp communication.
authors: authors:

49
pom.xml
View File

@ -5,7 +5,7 @@
<groupId>net.ess3</groupId> <groupId>net.ess3</groupId>
<artifactId>EssentialsXParent</artifactId> <artifactId>EssentialsXParent</artifactId>
<version>2.0.1</version> <version>2.15.0</version>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -200,19 +200,11 @@
<replacements> <replacements>
<replacement> <replacement>
<token>TeamCity</token> <token>TeamCity</token>
<value>${build.number}</value> <value>${full.version}</value>
</replacement>
<replacement>
<token>GMBuildVer</token>
<value>${GMVer}</value>
</replacement> </replacement>
<replacement> <replacement>
<token>$${build.number}</token> <token>$${build.number}</token>
<value>${build.number}</value> <value>${full.version}</value>
</replacement>
<replacement>
<token>$${GMVer}</token>
<value>${GMVer}</value>
</replacement> </replacement>
</replacements> </replacements>
</configuration> </configuration>
@ -250,6 +242,31 @@
<deployAtEnd>true</deployAtEnd> <deployAtEnd>true</deployAtEnd>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>2.2.4</version>
<executions>
<execution>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<skipPoms>false</skipPoms>
<runOnlyOnce>true</runOnlyOnce>
<injectAllReactorProjects>true</injectAllReactorProjects>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
<gitDescribe>
<tags>true</tags>
</gitDescribe>
</configuration>
</plugin>
</plugins> </plugins>
<resources> <resources>
<resource> <resource>
@ -266,8 +283,14 @@
</build> </build>
<properties> <properties>
<build.number>SNAPSHOT</build.number>
<GMVer>GMBuildVer</GMVer>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- The plugins' release version -->
<release.version>2.15.0</release.version>
<!-- The plugins' build number -->
<build.number>${git.closest.tag.commit.count}</build.number>
<full.version>${release.version}.${build.number}</full.version>
</properties> </properties>
</project> </project>