From b190070f0929c051e0f147ed45ae092e63aad2ff Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 15 Feb 2011 22:35:47 +0100 Subject: [PATCH] Further POM haxx. Now reads git description during build process. NOTE: This may break people building on Windows - you must have git on your path. Ah well, who cares. By: Luke GB --- paper-server/pom.xml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/paper-server/pom.xml b/paper-server/pom.xml index 23924a3d66..4101ad3a2d 100644 --- a/paper-server/pom.xml +++ b/paper-server/pom.xml @@ -3,11 +3,11 @@ 4.0.0 org.bukkit craftbukkit + jar 0.0.1-SNAPSHOT CraftBukkit http://www.bukkit.org - unknown unknown @@ -21,6 +21,12 @@ http://artifacts.lukegb.com/artifactory/repo + + + bukkit-plugins + http://artifacts.lukegb.com/artifactory/repo + + org.bukkit @@ -44,7 +50,25 @@ + clean install + + com.lukegb.mojo + gitdescribe-maven-plugin + 1.2 + + git-Bukkit- + + + + + compile + + gitdescribe + + + + org.apache.maven.plugins maven-jar-plugin @@ -54,7 +78,7 @@ org.bukkit.craftbukkit.Main CraftBukkit - ${build.version} + ${describe} Bukkit Team Bukkit ${api.version}