From a0fc0979f7a6dc4cb4720f9e43d423f6025ae6d1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 1 Jan 2011 11:23:14 +0100 Subject: [PATCH] Transition to Maven By: Erik Broes --- paper-api/.gitignore | 19 ++++++++++++++----- paper-api/pom.xml | 17 +++++++++++++++++ .../src/{ => main/java}/org/bukkit/Block.java | 0 .../{ => main/java}/org/bukkit/BlockFace.java | 0 .../src/{ => main/java}/org/bukkit/Chunk.java | 0 .../{ => main/java}/org/bukkit/Entity.java | 0 .../java}/org/bukkit/HumanEntity.java | 0 .../{ => main/java}/org/bukkit/ItemStack.java | 0 .../java}/org/bukkit/LivingEntity.java | 0 .../{ => main/java}/org/bukkit/Location.java | 0 .../{ => main/java}/org/bukkit/Material.java | 0 .../{ => main/java}/org/bukkit/Player.java | 0 .../{ => main/java}/org/bukkit/Server.java | 0 .../src/{ => main/java}/org/bukkit/World.java | 0 .../java}/org/bukkit/event/Cancellable.java | 0 .../java}/org/bukkit/event/Event.java | 0 .../org/bukkit/event/EventException.java | 0 .../java}/org/bukkit/event/Listener.java | 0 .../bukkit/event/block/BlockBrokenEvent.java | 0 .../event/block/BlockCanBuildEvent.java | 0 .../org/bukkit/event/block/BlockEvent.java | 0 .../bukkit/event/block/BlockFromToEvent.java | 0 .../bukkit/event/block/BlockIgniteEvent.java | 0 .../org/bukkit/event/block/BlockListener.java | 0 .../bukkit/event/block/BlockPhysicsEvent.java | 0 .../bukkit/event/block/BlockPlacedEvent.java | 0 .../event/block/BlockRightClickedEvent.java | 0 .../bukkit/event/player/PlayerChatEvent.java | 0 .../org/bukkit/event/player/PlayerEvent.java | 0 .../bukkit/event/player/PlayerListener.java | 0 .../bukkit/event/player/PlayerLoginEvent.java | 0 .../bukkit/event/player/PlayerMoveEvent.java | 0 .../plugin/InvalidDescriptionException.java | 0 .../bukkit/plugin/InvalidPluginException.java | 0 .../java}/org/bukkit/plugin/Plugin.java | 0 .../bukkit/plugin/PluginDescriptionFile.java | 0 .../java}/org/bukkit/plugin/PluginLoader.java | 0 .../org/bukkit/plugin/PluginManager.java | 0 .../org/bukkit/plugin/RegisteredListener.java | 0 .../bukkit/plugin/SimplePluginManager.java | 0 .../org/bukkit/plugin/java/JavaPlugin.java | 0 .../bukkit/plugin/java/JavaPluginLoader.java | 0 42 files changed, 31 insertions(+), 5 deletions(-) create mode 100755 paper-api/pom.xml rename paper-api/src/{ => main/java}/org/bukkit/Block.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/BlockFace.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/Chunk.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/Entity.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/HumanEntity.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/ItemStack.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/LivingEntity.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/Location.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/Material.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/Player.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/Server.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/World.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/Cancellable.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/Event.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/EventException.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/Listener.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/block/BlockBrokenEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/block/BlockCanBuildEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/block/BlockEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/block/BlockFromToEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/block/BlockIgniteEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/block/BlockListener.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/block/BlockPhysicsEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/block/BlockPlacedEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/block/BlockRightClickedEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/player/PlayerChatEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/player/PlayerEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/player/PlayerListener.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/player/PlayerLoginEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/event/player/PlayerMoveEvent.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/InvalidDescriptionException.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/InvalidPluginException.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/Plugin.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/PluginDescriptionFile.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/PluginLoader.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/PluginManager.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/RegisteredListener.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/SimplePluginManager.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/java/JavaPlugin.java (100%) rename paper-api/src/{ => main/java}/org/bukkit/plugin/java/JavaPluginLoader.java (100%) diff --git a/paper-api/.gitignore b/paper-api/.gitignore index 9ba47d064d..b5d9a1dc91 100644 --- a/paper-api/.gitignore +++ b/paper-api/.gitignore @@ -1,11 +1,20 @@ +# Eclipse stuff +/.classpath +/.project +/.settings -/build +# netbeans /nbproject -/build.xml -/manifest.mf -/dist + +# maven +/target + +# vim +.*.sw[a-p] + +# test stuff (do remove me!) /sample/test /sample/build.xml /sample/build /sample/dist -/sample/nbproject \ No newline at end of file +/sample/nbproject diff --git a/paper-api/pom.xml b/paper-api/pom.xml new file mode 100755 index 0000000000..43b118687c --- /dev/null +++ b/paper-api/pom.xml @@ -0,0 +1,17 @@ + + 4.0.0 + org.bukkit + bukkit + 0.0.1-SNAPSHOT + Bukkit + http://www.bukkit.org + + + org.yaml + snakeyaml + 1.7 + jar + compile + + + diff --git a/paper-api/src/org/bukkit/Block.java b/paper-api/src/main/java/org/bukkit/Block.java similarity index 100% rename from paper-api/src/org/bukkit/Block.java rename to paper-api/src/main/java/org/bukkit/Block.java diff --git a/paper-api/src/org/bukkit/BlockFace.java b/paper-api/src/main/java/org/bukkit/BlockFace.java similarity index 100% rename from paper-api/src/org/bukkit/BlockFace.java rename to paper-api/src/main/java/org/bukkit/BlockFace.java diff --git a/paper-api/src/org/bukkit/Chunk.java b/paper-api/src/main/java/org/bukkit/Chunk.java similarity index 100% rename from paper-api/src/org/bukkit/Chunk.java rename to paper-api/src/main/java/org/bukkit/Chunk.java diff --git a/paper-api/src/org/bukkit/Entity.java b/paper-api/src/main/java/org/bukkit/Entity.java similarity index 100% rename from paper-api/src/org/bukkit/Entity.java rename to paper-api/src/main/java/org/bukkit/Entity.java diff --git a/paper-api/src/org/bukkit/HumanEntity.java b/paper-api/src/main/java/org/bukkit/HumanEntity.java similarity index 100% rename from paper-api/src/org/bukkit/HumanEntity.java rename to paper-api/src/main/java/org/bukkit/HumanEntity.java diff --git a/paper-api/src/org/bukkit/ItemStack.java b/paper-api/src/main/java/org/bukkit/ItemStack.java similarity index 100% rename from paper-api/src/org/bukkit/ItemStack.java rename to paper-api/src/main/java/org/bukkit/ItemStack.java diff --git a/paper-api/src/org/bukkit/LivingEntity.java b/paper-api/src/main/java/org/bukkit/LivingEntity.java similarity index 100% rename from paper-api/src/org/bukkit/LivingEntity.java rename to paper-api/src/main/java/org/bukkit/LivingEntity.java diff --git a/paper-api/src/org/bukkit/Location.java b/paper-api/src/main/java/org/bukkit/Location.java similarity index 100% rename from paper-api/src/org/bukkit/Location.java rename to paper-api/src/main/java/org/bukkit/Location.java diff --git a/paper-api/src/org/bukkit/Material.java b/paper-api/src/main/java/org/bukkit/Material.java similarity index 100% rename from paper-api/src/org/bukkit/Material.java rename to paper-api/src/main/java/org/bukkit/Material.java diff --git a/paper-api/src/org/bukkit/Player.java b/paper-api/src/main/java/org/bukkit/Player.java similarity index 100% rename from paper-api/src/org/bukkit/Player.java rename to paper-api/src/main/java/org/bukkit/Player.java diff --git a/paper-api/src/org/bukkit/Server.java b/paper-api/src/main/java/org/bukkit/Server.java similarity index 100% rename from paper-api/src/org/bukkit/Server.java rename to paper-api/src/main/java/org/bukkit/Server.java diff --git a/paper-api/src/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java similarity index 100% rename from paper-api/src/org/bukkit/World.java rename to paper-api/src/main/java/org/bukkit/World.java diff --git a/paper-api/src/org/bukkit/event/Cancellable.java b/paper-api/src/main/java/org/bukkit/event/Cancellable.java similarity index 100% rename from paper-api/src/org/bukkit/event/Cancellable.java rename to paper-api/src/main/java/org/bukkit/event/Cancellable.java diff --git a/paper-api/src/org/bukkit/event/Event.java b/paper-api/src/main/java/org/bukkit/event/Event.java similarity index 100% rename from paper-api/src/org/bukkit/event/Event.java rename to paper-api/src/main/java/org/bukkit/event/Event.java diff --git a/paper-api/src/org/bukkit/event/EventException.java b/paper-api/src/main/java/org/bukkit/event/EventException.java similarity index 100% rename from paper-api/src/org/bukkit/event/EventException.java rename to paper-api/src/main/java/org/bukkit/event/EventException.java diff --git a/paper-api/src/org/bukkit/event/Listener.java b/paper-api/src/main/java/org/bukkit/event/Listener.java similarity index 100% rename from paper-api/src/org/bukkit/event/Listener.java rename to paper-api/src/main/java/org/bukkit/event/Listener.java diff --git a/paper-api/src/org/bukkit/event/block/BlockBrokenEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockBrokenEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/block/BlockBrokenEvent.java rename to paper-api/src/main/java/org/bukkit/event/block/BlockBrokenEvent.java diff --git a/paper-api/src/org/bukkit/event/block/BlockCanBuildEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockCanBuildEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/block/BlockCanBuildEvent.java rename to paper-api/src/main/java/org/bukkit/event/block/BlockCanBuildEvent.java diff --git a/paper-api/src/org/bukkit/event/block/BlockEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/block/BlockEvent.java rename to paper-api/src/main/java/org/bukkit/event/block/BlockEvent.java diff --git a/paper-api/src/org/bukkit/event/block/BlockFromToEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockFromToEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/block/BlockFromToEvent.java rename to paper-api/src/main/java/org/bukkit/event/block/BlockFromToEvent.java diff --git a/paper-api/src/org/bukkit/event/block/BlockIgniteEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockIgniteEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/block/BlockIgniteEvent.java rename to paper-api/src/main/java/org/bukkit/event/block/BlockIgniteEvent.java diff --git a/paper-api/src/org/bukkit/event/block/BlockListener.java b/paper-api/src/main/java/org/bukkit/event/block/BlockListener.java similarity index 100% rename from paper-api/src/org/bukkit/event/block/BlockListener.java rename to paper-api/src/main/java/org/bukkit/event/block/BlockListener.java diff --git a/paper-api/src/org/bukkit/event/block/BlockPhysicsEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockPhysicsEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/block/BlockPhysicsEvent.java rename to paper-api/src/main/java/org/bukkit/event/block/BlockPhysicsEvent.java diff --git a/paper-api/src/org/bukkit/event/block/BlockPlacedEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockPlacedEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/block/BlockPlacedEvent.java rename to paper-api/src/main/java/org/bukkit/event/block/BlockPlacedEvent.java diff --git a/paper-api/src/org/bukkit/event/block/BlockRightClickedEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockRightClickedEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/block/BlockRightClickedEvent.java rename to paper-api/src/main/java/org/bukkit/event/block/BlockRightClickedEvent.java diff --git a/paper-api/src/org/bukkit/event/player/PlayerChatEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerChatEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/player/PlayerChatEvent.java rename to paper-api/src/main/java/org/bukkit/event/player/PlayerChatEvent.java diff --git a/paper-api/src/org/bukkit/event/player/PlayerEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/player/PlayerEvent.java rename to paper-api/src/main/java/org/bukkit/event/player/PlayerEvent.java diff --git a/paper-api/src/org/bukkit/event/player/PlayerListener.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerListener.java similarity index 100% rename from paper-api/src/org/bukkit/event/player/PlayerListener.java rename to paper-api/src/main/java/org/bukkit/event/player/PlayerListener.java diff --git a/paper-api/src/org/bukkit/event/player/PlayerLoginEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/player/PlayerLoginEvent.java rename to paper-api/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java diff --git a/paper-api/src/org/bukkit/event/player/PlayerMoveEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerMoveEvent.java similarity index 100% rename from paper-api/src/org/bukkit/event/player/PlayerMoveEvent.java rename to paper-api/src/main/java/org/bukkit/event/player/PlayerMoveEvent.java diff --git a/paper-api/src/org/bukkit/plugin/InvalidDescriptionException.java b/paper-api/src/main/java/org/bukkit/plugin/InvalidDescriptionException.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/InvalidDescriptionException.java rename to paper-api/src/main/java/org/bukkit/plugin/InvalidDescriptionException.java diff --git a/paper-api/src/org/bukkit/plugin/InvalidPluginException.java b/paper-api/src/main/java/org/bukkit/plugin/InvalidPluginException.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/InvalidPluginException.java rename to paper-api/src/main/java/org/bukkit/plugin/InvalidPluginException.java diff --git a/paper-api/src/org/bukkit/plugin/Plugin.java b/paper-api/src/main/java/org/bukkit/plugin/Plugin.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/Plugin.java rename to paper-api/src/main/java/org/bukkit/plugin/Plugin.java diff --git a/paper-api/src/org/bukkit/plugin/PluginDescriptionFile.java b/paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/PluginDescriptionFile.java rename to paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java diff --git a/paper-api/src/org/bukkit/plugin/PluginLoader.java b/paper-api/src/main/java/org/bukkit/plugin/PluginLoader.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/PluginLoader.java rename to paper-api/src/main/java/org/bukkit/plugin/PluginLoader.java diff --git a/paper-api/src/org/bukkit/plugin/PluginManager.java b/paper-api/src/main/java/org/bukkit/plugin/PluginManager.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/PluginManager.java rename to paper-api/src/main/java/org/bukkit/plugin/PluginManager.java diff --git a/paper-api/src/org/bukkit/plugin/RegisteredListener.java b/paper-api/src/main/java/org/bukkit/plugin/RegisteredListener.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/RegisteredListener.java rename to paper-api/src/main/java/org/bukkit/plugin/RegisteredListener.java diff --git a/paper-api/src/org/bukkit/plugin/SimplePluginManager.java b/paper-api/src/main/java/org/bukkit/plugin/SimplePluginManager.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/SimplePluginManager.java rename to paper-api/src/main/java/org/bukkit/plugin/SimplePluginManager.java diff --git a/paper-api/src/org/bukkit/plugin/java/JavaPlugin.java b/paper-api/src/main/java/org/bukkit/plugin/java/JavaPlugin.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/java/JavaPlugin.java rename to paper-api/src/main/java/org/bukkit/plugin/java/JavaPlugin.java diff --git a/paper-api/src/org/bukkit/plugin/java/JavaPluginLoader.java b/paper-api/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java similarity index 100% rename from paper-api/src/org/bukkit/plugin/java/JavaPluginLoader.java rename to paper-api/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java