From 86c6d642660dc7d304cd60d893b86873dbc175ac Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 23 Apr 2013 11:34:54 +1000 Subject: [PATCH] POM Changes diff --git a/pom.xml b/pom.xml index 9ff95c6..3e02cc3 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,20 @@ 4.0.0 - org.bukkit - craftbukkit + + + org.spigotmc + spigot-parent + dev-SNAPSHOT + ../pom.xml + + + org.spigotmc + spigot jar 1.5.1-R0.3-SNAPSHOT - CraftBukkit - http://www.bukkit.org + Spigot + http://www.spigotmc.org UTF-8 @@ -16,25 +24,6 @@ 1_5_R2 - - scm:git:git://github.com/Bukkit/CraftBukkit.git - scm:git:ssh://git@github.com/Bukkit/CraftBukkit.git - https://github.com/Bukkit/CraftBukkit - - - - - repobo-rel - repo.bukkit.org Releases - http://repo.bukkit.org/content/repositories/releases/ - - - repobo-snap - repo.bukkit.org Snapshots - http://repo.bukkit.org/content/repositories/snapshots/ - - - repobo-snap @@ -42,17 +31,10 @@ - - - bukkit-plugins - http://repo.bukkit.org/content/groups/public - - - - org.bukkit - bukkit + org.spigotmc + spigot-api ${project.version} jar compile @@ -145,18 +127,23 @@ 1.3 test + + net.sf.trove4j + trove4j + 3.0.2 + - clean install + install com.lukegb.mojo gitdescribe-maven-plugin 1.3 - git-Bukkit- + git-Spigot- @@ -210,7 +197,7 @@ org.apache.maven.plugins maven-shade-plugin - 1.4 + 2.0 package diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java index f905d17..9304637 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java +++ b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java @@ -11,7 +11,7 @@ public final class Versioning { public static String getBukkitVersion() { String result = "Unknown-Version"; - InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/maven/org.bukkit/bukkit/pom.properties"); + InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/maven/org.spigotmc/spigot-api/pom.properties"); Properties properties = new Properties(); if (stream != null) { -- 1.8.2.1