From 0ef42a114358391ef6a7235cb15fc732fad1cf0a Mon Sep 17 00:00:00 2001 From: j502647092 Date: Sun, 30 Aug 2015 15:40:06 +0800 Subject: [PATCH] modify maven configure... Signed-off-by: j502647092 --- .classpath | 36 +++++++++---------- pom.xml | 21 ++++++----- .../citycraft/GuiShopManager}/Commander.java | 5 +-- .../citycraft/GuiShopManager}/GSMItems.java | 5 +-- .../GuiShopManager}/GuiShopManager.java | 9 ++--- .../GuiShopManager}/PlayerListener.java | 2 +- .../citycraft/GuiShopManager/Reloadable.java | 8 +++++ src/main/resources/plugin.yml | 10 ++++++ .../addon/guishopmanager/Reloadable.java | 8 ----- src/plugin.yml | 10 ------ 10 files changed, 56 insertions(+), 58 deletions(-) rename src/{org/black_ixx/bossshop/addon/guishopmanager => main/java/cn/citycraft/GuiShopManager}/Commander.java (96%) rename src/{org/black_ixx/bossshop/addon/guishopmanager => main/java/cn/citycraft/GuiShopManager}/GSMItems.java (97%) rename src/{org/black_ixx/bossshop/addon/guishopmanager => main/java/cn/citycraft/GuiShopManager}/GuiShopManager.java (91%) rename src/{org/black_ixx/bossshop/addon/guishopmanager => main/java/cn/citycraft/GuiShopManager}/PlayerListener.java (94%) create mode 100644 src/main/java/cn/citycraft/GuiShopManager/Reloadable.java create mode 100644 src/main/resources/plugin.yml delete mode 100644 src/org/black_ixx/bossshop/addon/guishopmanager/Reloadable.java delete mode 100644 src/plugin.yml diff --git a/.classpath b/.classpath index 4c682ec..d841fed 100644 --- a/.classpath +++ b/.classpath @@ -1,20 +1,16 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 428ff2c..83fd970 100644 --- a/pom.xml +++ b/pom.xml @@ -1,18 +1,17 @@ - - 4.0.0 - cn.citycraft - GuiShopManager - 0.0.1-SNAPSHOT - GuiShopManager + + 4.0.0 + cn.citycraft + GuiShopManager + 1.3.3 + GuiShopManager + BossShop Addon managing the GUIs ${project.name} - src - src - - **/*.java - + src/main/resources + true diff --git a/src/org/black_ixx/bossshop/addon/guishopmanager/Commander.java b/src/main/java/cn/citycraft/GuiShopManager/Commander.java similarity index 96% rename from src/org/black_ixx/bossshop/addon/guishopmanager/Commander.java rename to src/main/java/cn/citycraft/GuiShopManager/Commander.java index de815d5..52d6c17 100644 --- a/src/org/black_ixx/bossshop/addon/guishopmanager/Commander.java +++ b/src/main/java/cn/citycraft/GuiShopManager/Commander.java @@ -1,6 +1,5 @@ -package org.black_ixx.bossshop.addon.guishopmanager; +package cn.citycraft.GuiShopManager; -import org.black_ixx.bossshop.addon.guishopmanager.GuiShopManager; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.command.Command; @@ -9,6 +8,8 @@ import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; +import cn.citycraft.GuiShopManager.GuiShopManager; + public class Commander implements CommandExecutor { private GuiShopManager plugin; diff --git a/src/org/black_ixx/bossshop/addon/guishopmanager/GSMItems.java b/src/main/java/cn/citycraft/GuiShopManager/GSMItems.java similarity index 97% rename from src/org/black_ixx/bossshop/addon/guishopmanager/GSMItems.java rename to src/main/java/cn/citycraft/GuiShopManager/GSMItems.java index 86591c3..260a702 100644 --- a/src/org/black_ixx/bossshop/addon/guishopmanager/GSMItems.java +++ b/src/main/java/cn/citycraft/GuiShopManager/GSMItems.java @@ -1,9 +1,8 @@ -package org.black_ixx.bossshop.addon.guishopmanager; +package cn.citycraft.GuiShopManager; import java.util.HashMap; import java.util.List; -import org.black_ixx.bossshop.addon.guishopmanager.GuiShopManager; import org.bukkit.Bukkit; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Player; @@ -11,6 +10,8 @@ import org.bukkit.event.block.Action; import org.bukkit.event.player.PlayerInteractEvent; import org.bukkit.inventory.ItemStack; +import cn.citycraft.GuiShopManager.GuiShopManager; + public class GSMItems implements Reloadable { private HashMap items = new HashMap(); private HashMap item_names = new HashMap(); diff --git a/src/org/black_ixx/bossshop/addon/guishopmanager/GuiShopManager.java b/src/main/java/cn/citycraft/GuiShopManager/GuiShopManager.java similarity index 91% rename from src/org/black_ixx/bossshop/addon/guishopmanager/GuiShopManager.java rename to src/main/java/cn/citycraft/GuiShopManager/GuiShopManager.java index 6703808..f7489b5 100644 --- a/src/org/black_ixx/bossshop/addon/guishopmanager/GuiShopManager.java +++ b/src/main/java/cn/citycraft/GuiShopManager/GuiShopManager.java @@ -1,16 +1,17 @@ -package org.black_ixx.bossshop.addon.guishopmanager; +package cn.citycraft.GuiShopManager; import java.util.ArrayList; import java.util.List; -import org.black_ixx.bossshop.addon.guishopmanager.Commander; -import org.black_ixx.bossshop.addon.guishopmanager.GSMItems; -import org.black_ixx.bossshop.addon.guishopmanager.PlayerListener; import org.black_ixx.bossshop.api.BossShopAddon; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import org.bukkit.configuration.file.FileConfiguration; +import cn.citycraft.GuiShopManager.Commander; +import cn.citycraft.GuiShopManager.GSMItems; +import cn.citycraft.GuiShopManager.PlayerListener; + public class GuiShopManager extends BossShopAddon { private GSMItems items; private PlayerListener listener; diff --git a/src/org/black_ixx/bossshop/addon/guishopmanager/PlayerListener.java b/src/main/java/cn/citycraft/GuiShopManager/PlayerListener.java similarity index 94% rename from src/org/black_ixx/bossshop/addon/guishopmanager/PlayerListener.java rename to src/main/java/cn/citycraft/GuiShopManager/PlayerListener.java index afed204..ce6d22b 100644 --- a/src/org/black_ixx/bossshop/addon/guishopmanager/PlayerListener.java +++ b/src/main/java/cn/citycraft/GuiShopManager/PlayerListener.java @@ -1,4 +1,4 @@ -package org.black_ixx.bossshop.addon.guishopmanager; +package cn.citycraft.GuiShopManager; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/cn/citycraft/GuiShopManager/Reloadable.java b/src/main/java/cn/citycraft/GuiShopManager/Reloadable.java new file mode 100644 index 0000000..ede842a --- /dev/null +++ b/src/main/java/cn/citycraft/GuiShopManager/Reloadable.java @@ -0,0 +1,8 @@ +package cn.citycraft.GuiShopManager; + +import cn.citycraft.GuiShopManager.GuiShopManager; + +public abstract interface Reloadable +{ + public abstract void reload(GuiShopManager paramGuiShopManager); +} \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml new file mode 100644 index 0000000..9bd2399 --- /dev/null +++ b/src/main/resources/plugin.yml @@ -0,0 +1,10 @@ +name: ${project.artifactId} +description: ${project.description} +main: ${project.groupId}.${project.artifactId}.${project.artifactId} +version: ${project.version} +auther: ك÷،لخط +website: http://ci.citycraft.cn:8800/jenkins/job/${project.artifactId}/ +depend: [BossShop] +commands: + gsm: + description: GUIShopManager command \ No newline at end of file diff --git a/src/org/black_ixx/bossshop/addon/guishopmanager/Reloadable.java b/src/org/black_ixx/bossshop/addon/guishopmanager/Reloadable.java deleted file mode 100644 index 7af00e1..0000000 --- a/src/org/black_ixx/bossshop/addon/guishopmanager/Reloadable.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.black_ixx.bossshop.addon.guishopmanager; - -import org.black_ixx.bossshop.addon.guishopmanager.GuiShopManager; - -public abstract interface Reloadable -{ - public abstract void reload(GuiShopManager paramGuiShopManager); -} \ No newline at end of file diff --git a/src/plugin.yml b/src/plugin.yml deleted file mode 100644 index 72a28b9..0000000 --- a/src/plugin.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: GuiShopManager -version: 1.3.3 -description: BossShop Addon managing the GUIs -author: Black_ixx -website: http://felix.neuby.de -main: org.black_ixx.bossshop.addon.guishopmanager.GuiShopManager -depend: [BossShop] -commands: - gsm: - description: GUIShopManager command \ No newline at end of file