From 84bf373c55d394135657867c23e80e1de67f62a7 Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sat, 1 Jan 2011 11:47:24 +0100 Subject: [PATCH] Transition to Maven --- .gitignore | 16 +++++-- pom.xml | 48 +++++++++++++++++++ .../net/minecraft/server/BlockFlowing.java | 0 .../net/minecraft/server/MinecraftServer.java | 0 .../minecraft/server/NetServerHandler.java | 0 .../server/ServerConfigurationManager.java | 0 .../net/minecraft/server/WorldServer.java | 0 .../org/bukkit/craftbukkit/CraftBlock.java | 0 .../org/bukkit/craftbukkit/CraftChunk.java | 0 .../org/bukkit/craftbukkit/CraftEntity.java | 0 .../bukkit/craftbukkit/CraftHumanEntity.java | 0 .../bukkit/craftbukkit/CraftLivingEntity.java | 0 .../org/bukkit/craftbukkit/CraftPlayer.java | 0 .../org/bukkit/craftbukkit/CraftServer.java | 0 .../org/bukkit/craftbukkit/CraftWorld.java | 0 .../java}/org/bukkit/craftbukkit/Main.java | 0 16 files changed, 59 insertions(+), 5 deletions(-) create mode 100755 pom.xml rename src/{ => main/java}/net/minecraft/server/BlockFlowing.java (100%) rename src/{ => main/java}/net/minecraft/server/MinecraftServer.java (100%) rename src/{ => main/java}/net/minecraft/server/NetServerHandler.java (100%) rename src/{ => main/java}/net/minecraft/server/ServerConfigurationManager.java (100%) rename src/{ => main/java}/net/minecraft/server/WorldServer.java (100%) rename src/{ => main/java}/org/bukkit/craftbukkit/CraftBlock.java (100%) rename src/{ => main/java}/org/bukkit/craftbukkit/CraftChunk.java (100%) rename src/{ => main/java}/org/bukkit/craftbukkit/CraftEntity.java (100%) rename src/{ => main/java}/org/bukkit/craftbukkit/CraftHumanEntity.java (100%) rename src/{ => main/java}/org/bukkit/craftbukkit/CraftLivingEntity.java (100%) rename src/{ => main/java}/org/bukkit/craftbukkit/CraftPlayer.java (100%) rename src/{ => main/java}/org/bukkit/craftbukkit/CraftServer.java (100%) rename src/{ => main/java}/org/bukkit/craftbukkit/CraftWorld.java (100%) rename src/{ => main/java}/org/bukkit/craftbukkit/Main.java (100%) diff --git a/.gitignore b/.gitignore index f0fde81a2a..9c0573a55d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,13 @@ +# Eclipse stuff +/.classpath +/.project +/.settings -/jarjar -/build -/build.xml -/manifest.mf +# netbeans /nbproject -/dist \ No newline at end of file + +# maven +/target + +# vim +.*.sw[a-p] diff --git a/pom.xml b/pom.xml new file mode 100755 index 0000000000..cbfb2c7444 --- /dev/null +++ b/pom.xml @@ -0,0 +1,48 @@ + + 4.0.0 + org.bukkit + craftbukkit + 0.0.1-SNAPSHOT + CraftBukkit + http://www.bukkit.org + + + tmp-repo + http://dl.dwim.org/~ebroes/maven + + + + + org.bukkit + bukkit + 0.0.1-SNAPSHOT + jar + compile + + + org.bukkit + minecraft-server + 1.1_02 + jar + compile + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.3.1 + + + + org.bukkit.craftbukkit.Main + + + + + + + diff --git a/src/net/minecraft/server/BlockFlowing.java b/src/main/java/net/minecraft/server/BlockFlowing.java similarity index 100% rename from src/net/minecraft/server/BlockFlowing.java rename to src/main/java/net/minecraft/server/BlockFlowing.java diff --git a/src/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java similarity index 100% rename from src/net/minecraft/server/MinecraftServer.java rename to src/main/java/net/minecraft/server/MinecraftServer.java diff --git a/src/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java similarity index 100% rename from src/net/minecraft/server/NetServerHandler.java rename to src/main/java/net/minecraft/server/NetServerHandler.java diff --git a/src/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java similarity index 100% rename from src/net/minecraft/server/ServerConfigurationManager.java rename to src/main/java/net/minecraft/server/ServerConfigurationManager.java diff --git a/src/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java similarity index 100% rename from src/net/minecraft/server/WorldServer.java rename to src/main/java/net/minecraft/server/WorldServer.java diff --git a/src/org/bukkit/craftbukkit/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/CraftBlock.java similarity index 100% rename from src/org/bukkit/craftbukkit/CraftBlock.java rename to src/main/java/org/bukkit/craftbukkit/CraftBlock.java diff --git a/src/org/bukkit/craftbukkit/CraftChunk.java b/src/main/java/org/bukkit/craftbukkit/CraftChunk.java similarity index 100% rename from src/org/bukkit/craftbukkit/CraftChunk.java rename to src/main/java/org/bukkit/craftbukkit/CraftChunk.java diff --git a/src/org/bukkit/craftbukkit/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/CraftEntity.java similarity index 100% rename from src/org/bukkit/craftbukkit/CraftEntity.java rename to src/main/java/org/bukkit/craftbukkit/CraftEntity.java diff --git a/src/org/bukkit/craftbukkit/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/CraftHumanEntity.java similarity index 100% rename from src/org/bukkit/craftbukkit/CraftHumanEntity.java rename to src/main/java/org/bukkit/craftbukkit/CraftHumanEntity.java diff --git a/src/org/bukkit/craftbukkit/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/CraftLivingEntity.java similarity index 100% rename from src/org/bukkit/craftbukkit/CraftLivingEntity.java rename to src/main/java/org/bukkit/craftbukkit/CraftLivingEntity.java diff --git a/src/org/bukkit/craftbukkit/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/CraftPlayer.java similarity index 100% rename from src/org/bukkit/craftbukkit/CraftPlayer.java rename to src/main/java/org/bukkit/craftbukkit/CraftPlayer.java diff --git a/src/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java similarity index 100% rename from src/org/bukkit/craftbukkit/CraftServer.java rename to src/main/java/org/bukkit/craftbukkit/CraftServer.java diff --git a/src/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java similarity index 100% rename from src/org/bukkit/craftbukkit/CraftWorld.java rename to src/main/java/org/bukkit/craftbukkit/CraftWorld.java diff --git a/src/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java similarity index 100% rename from src/org/bukkit/craftbukkit/Main.java rename to src/main/java/org/bukkit/craftbukkit/Main.java