1
0
mirror of https://e.coding.net/circlecloud/GuiShopManager.git synced 2024-12-27 07:58:51 +00:00

modify maven configure...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092 2015-08-30 15:40:06 +08:00
parent e662471fef
commit 0ef42a1143
10 changed files with 56 additions and 58 deletions

View File

@ -1,20 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry including="**/*.java" kind="src" output="target/classes" path="src"> <classpathentry kind="src" path="src/main/java"/>
<attributes> <classpathentry kind="src" path="src/main/resources"/>
<attribute name="optional" value="true"/> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attribute name="maven.pomderived" value="true"/> <attributes>
</attributes> <attribute name="maven.pomderived" value="true"/>
</classpathentry> </attributes>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> </classpathentry>
<attributes> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attribute name="maven.pomderived" value="true"/> <attributes>
</attributes> <attribute name="maven.pomderived" value="true"/>
</classpathentry> </attributes>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"> </classpathentry>
<attributes> <classpathentry kind="output" path="target/classes"/>
<attribute name="maven.pomderived" value="true"/> </classpath>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

21
pom.xml
View File

@ -1,18 +1,17 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>cn.citycraft</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>GuiShopManager</artifactId> <groupId>cn.citycraft</groupId>
<version>0.0.1-SNAPSHOT</version> <artifactId>GuiShopManager</artifactId>
<name>GuiShopManager</name> <version>1.3.3</version>
<name>GuiShopManager</name>
<description>BossShop Addon managing the GUIs</description>
<build> <build>
<finalName>${project.name}</finalName> <finalName>${project.name}</finalName>
<sourceDirectory>src</sourceDirectory>
<resources> <resources>
<resource> <resource>
<directory>src</directory> <directory>src/main/resources</directory>
<excludes> <filtering>true</filtering>
<exclude>**/*.java</exclude>
</excludes>
</resource> </resource>
</resources> </resources>
<plugins> <plugins>

View File

@ -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.Bukkit;
import org.bukkit.ChatColor; import org.bukkit.ChatColor;
import org.bukkit.command.Command; import org.bukkit.command.Command;
@ -9,6 +8,8 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import cn.citycraft.GuiShopManager.GuiShopManager;
public class Commander implements CommandExecutor { public class Commander implements CommandExecutor {
private GuiShopManager plugin; private GuiShopManager plugin;

View File

@ -1,9 +1,8 @@
package org.black_ixx.bossshop.addon.guishopmanager; package cn.citycraft.GuiShopManager;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import org.black_ixx.bossshop.addon.guishopmanager.GuiShopManager;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
@ -11,6 +10,8 @@ import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent; import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import cn.citycraft.GuiShopManager.GuiShopManager;
public class GSMItems implements Reloadable { public class GSMItems implements Reloadable {
private HashMap<ItemStack, String> items = new HashMap<ItemStack, String>(); private HashMap<ItemStack, String> items = new HashMap<ItemStack, String>();
private HashMap<String, ItemStack> item_names = new HashMap<String, ItemStack>(); private HashMap<String, ItemStack> item_names = new HashMap<String, ItemStack>();

View File

@ -1,16 +1,17 @@
package org.black_ixx.bossshop.addon.guishopmanager; package cn.citycraft.GuiShopManager;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; 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.black_ixx.bossshop.api.BossShopAddon;
import org.bukkit.ChatColor; import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.configuration.file.FileConfiguration; 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 { public class GuiShopManager extends BossShopAddon {
private GSMItems items; private GSMItems items;
private PlayerListener listener; private PlayerListener listener;

View File

@ -1,4 +1,4 @@
package org.black_ixx.bossshop.addon.guishopmanager; package cn.citycraft.GuiShopManager;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -0,0 +1,8 @@
package cn.citycraft.GuiShopManager;
import cn.citycraft.GuiShopManager.GuiShopManager;
public abstract interface Reloadable
{
public abstract void reload(GuiShopManager paramGuiShopManager);
}

View File

@ -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

View File

@ -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);
}

View File

@ -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