From 1e493e8f0050d48407ad7e6065cf0d406b67510f Mon Sep 17 00:00:00 2001 From: Brianna Date: Mon, 3 Feb 2020 17:28:49 -0500 Subject: [PATCH] Fix for versioning issue. --- UltimateTimber-Adapter/Current/pom.xml | 2 +- UltimateTimber-Adapter/Legacy/pom.xml | 2 +- UltimateTimber-Hook/CoreProtect/pom.xml | 2 +- UltimateTimber-Hook/Jobs/pom.xml | 2 +- UltimateTimber-Hook/McMMO/pom.xml | 2 +- UltimateTimber-Hook/McMMOClassic12/pom.xml | 2 +- UltimateTimber-Hook/McMMOClassic13/pom.xml | 2 +- UltimateTimber-Hook/McMMOClassic8/pom.xml | 2 +- UltimateTimber/Core/pom.xml | 2 +- UltimateTimber/Plugin/pom.xml | 24 +++++++++++++++++++++- UltimateTimber/Plugin/resources/plugin.yml | 2 +- 11 files changed, 33 insertions(+), 11 deletions(-) diff --git a/UltimateTimber-Adapter/Current/pom.xml b/UltimateTimber-Adapter/Current/pom.xml index c297601..bec5c70 100644 --- a/UltimateTimber-Adapter/Current/pom.xml +++ b/UltimateTimber-Adapter/Current/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ diff --git a/UltimateTimber-Adapter/Legacy/pom.xml b/UltimateTimber-Adapter/Legacy/pom.xml index 76a4773..f407ccf 100644 --- a/UltimateTimber-Adapter/Legacy/pom.xml +++ b/UltimateTimber-Adapter/Legacy/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ diff --git a/UltimateTimber-Hook/CoreProtect/pom.xml b/UltimateTimber-Hook/CoreProtect/pom.xml index aa7dd1d..cbb94cf 100644 --- a/UltimateTimber-Hook/CoreProtect/pom.xml +++ b/UltimateTimber-Hook/CoreProtect/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ diff --git a/UltimateTimber-Hook/Jobs/pom.xml b/UltimateTimber-Hook/Jobs/pom.xml index 48c59d6..8b4c88c 100644 --- a/UltimateTimber-Hook/Jobs/pom.xml +++ b/UltimateTimber-Hook/Jobs/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ diff --git a/UltimateTimber-Hook/McMMO/pom.xml b/UltimateTimber-Hook/McMMO/pom.xml index 79a46d3..a918dc6 100644 --- a/UltimateTimber-Hook/McMMO/pom.xml +++ b/UltimateTimber-Hook/McMMO/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ diff --git a/UltimateTimber-Hook/McMMOClassic12/pom.xml b/UltimateTimber-Hook/McMMOClassic12/pom.xml index a15ab31..2b051cd 100644 --- a/UltimateTimber-Hook/McMMOClassic12/pom.xml +++ b/UltimateTimber-Hook/McMMOClassic12/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ diff --git a/UltimateTimber-Hook/McMMOClassic13/pom.xml b/UltimateTimber-Hook/McMMOClassic13/pom.xml index fdf94c4..07d90e7 100644 --- a/UltimateTimber-Hook/McMMOClassic13/pom.xml +++ b/UltimateTimber-Hook/McMMOClassic13/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ diff --git a/UltimateTimber-Hook/McMMOClassic8/pom.xml b/UltimateTimber-Hook/McMMOClassic8/pom.xml index db0df76..2a6eb82 100644 --- a/UltimateTimber-Hook/McMMOClassic8/pom.xml +++ b/UltimateTimber-Hook/McMMOClassic8/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ diff --git a/UltimateTimber/Core/pom.xml b/UltimateTimber/Core/pom.xml index 1f66483..a0f219e 100644 --- a/UltimateTimber/Core/pom.xml +++ b/UltimateTimber/Core/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ diff --git a/UltimateTimber/Plugin/pom.xml b/UltimateTimber/Plugin/pom.xml index f637789..1a92945 100644 --- a/UltimateTimber/Plugin/pom.xml +++ b/UltimateTimber/Plugin/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.0.4 + 2.0.5 ../../ @@ -23,6 +23,28 @@ false + + com.google.code.maven-replacer-plugin + replacer + 1.5.3 + + + prepare-package + + replace + + + + + ${project.build.directory}/classes/plugin.yml + + + maven-version-number + ${project.version} + + + + org.apache.maven.plugins maven-shade-plugin diff --git a/UltimateTimber/Plugin/resources/plugin.yml b/UltimateTimber/Plugin/resources/plugin.yml index 425da61..2386d65 100644 --- a/UltimateTimber/Plugin/resources/plugin.yml +++ b/UltimateTimber/Plugin/resources/plugin.yml @@ -1,5 +1,5 @@ name: UltimateTimber -version: @version@ +version: maven-version-number authors: [Songoda, Esophose] main: com.songoda.ultimatetimber.UltimateTimber api-version: 1.13