mirror of
https://e.coding.net/circlecloud/GuiShopManager.git
synced 2024-12-26 07:48:50 +00:00
modify maven configure...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
parent
e662471fef
commit
0ef42a1143
36
.classpath
36
.classpath
@ -1,20 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry including="**/*.java" kind="src" output="target/classes" path="src">
|
||||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="target/classes"/>
|
||||
</classpath>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src/main/java"/>
|
||||
<classpathentry kind="src" path="src/main/resources"/>
|
||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="target/classes"/>
|
||||
</classpath>
|
||||
|
21
pom.xml
21
pom.xml
@ -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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>cn.citycraft</groupId>
|
||||
<artifactId>GuiShopManager</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>GuiShopManager</name>
|
||||
<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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>cn.citycraft</groupId>
|
||||
<artifactId>GuiShopManager</artifactId>
|
||||
<version>1.3.3</version>
|
||||
<name>GuiShopManager</name>
|
||||
<description>BossShop Addon managing the GUIs</description>
|
||||
<build>
|
||||
<finalName>${project.name}</finalName>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
</excludes>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
|
@ -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;
|
||||
|
@ -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<ItemStack, String> items = new HashMap<ItemStack, String>();
|
||||
private HashMap<String, ItemStack> item_names = new HashMap<String, ItemStack>();
|
@ -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;
|
@ -1,4 +1,4 @@
|
||||
package org.black_ixx.bossshop.addon.guishopmanager;
|
||||
package cn.citycraft.GuiShopManager;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -0,0 +1,8 @@
|
||||
package cn.citycraft.GuiShopManager;
|
||||
|
||||
import cn.citycraft.GuiShopManager.GuiShopManager;
|
||||
|
||||
public abstract interface Reloadable
|
||||
{
|
||||
public abstract void reload(GuiShopManager paramGuiShopManager);
|
||||
}
|
10
src/main/resources/plugin.yml
Normal file
10
src/main/resources/plugin.yml
Normal 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
|
@ -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);
|
||||
}
|
@ -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
|
Loading…
Reference in New Issue
Block a user