From 33bcae40c69efaf4244a3b0d218ac4c7ae13f468 Mon Sep 17 00:00:00 2001 From: Luke GB Date: Tue, 15 Feb 2011 22:35:47 +0100 Subject: 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. --- pom.xml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 23924a3d..4101ad3a 100644 --- a/pom.xml +++ b/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} -- cgit v1.2.3