修改包名 修改构建信息...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092 2016-03-16 17:14:59 +08:00
parent 7a89c1ff28
commit 91547c98c2
12 changed files with 42 additions and 44 deletions

14
pom.xml
View File

@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>cn.citycraft</groupId> <groupId>pw.yumc</groupId>
<artifactId>Yum</artifactId> <artifactId>Yum</artifactId>
<version>2.0.3</version> <version>2.0.3</version>
<name>Yum</name> <name>Yum</name>
@ -53,14 +53,16 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<ciManagement>
<system>Jenkins</system>
<url>http://ci.yumc.pw/job/${project.artifactId}}/</url>
</ciManagement>
<properties> <properties>
<jenkins.url>http://hs.yumc.pw:8080</jenkins.url>
<update.description>&amp;a全新 2.0 版本 震撼发布...</update.description> <update.description>&amp;a全新 2.0 版本 震撼发布...</update.description>
<update.changes> <update.changes>
&amp;b2.0.3 &amp;6- &amp;a重载所有插件时忽略部分已注册服务插件...; &amp;b2.0.3 &amp;6- &amp;a重载所有插件时忽略部分已注册服务插件...;
&amp;b2.0.2 &amp;6- &amp;c修复检查可更新插件功能导致全局更新失效问题...; &amp;b2.0.2 &amp;6- &amp;c修复检查可更新插件功能导致全局更新失效问题...;
&amp;b &amp;6- &amp;b &amp;6- &amp;d新增全局更新限制 无法同时进行 防止错误...;
&amp;d新增全局更新限制 无法同时进行 防止错误...;
</update.changes> </update.changes>
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT> <env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -70,10 +72,6 @@
<id>spigot-repo</id> <id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url> <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository> </repository>
<repository>
<id>citycraft-repo</id>
<url>${jenkins.url}/plugin/repository/everything/</url>
</repository>
<repository> <repository>
<id>yumc-repo</id> <id>yumc-repo</id>
<url>http://repo.yumc.pw/content/groups/public/</url> <url>http://repo.yumc.pw/content/groups/public/</url>

View File

@ -1,7 +1,7 @@
/** /**
* *
*/ */
package cn.citycraft.Yum; package pw.yumc.Yum;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
@ -9,9 +9,9 @@ import org.bukkit.plugin.java.JavaPlugin;
import cn.citycraft.CommonData.UpdatePlugin; import cn.citycraft.CommonData.UpdatePlugin;
import cn.citycraft.PluginHelper.config.FileConfig; import cn.citycraft.PluginHelper.config.FileConfig;
import cn.citycraft.PluginHelper.utils.VersionChecker; import cn.citycraft.PluginHelper.utils.VersionChecker;
import cn.citycraft.Yum.api.YumAPI; import pw.yumc.Yum.api.YumAPI;
import cn.citycraft.Yum.commands.FileCommand; import pw.yumc.Yum.commands.FileCommand;
import cn.citycraft.Yum.commands.YumCommand; import pw.yumc.Yum.commands.YumCommand;
/** /**
* MC插件仓库 * MC插件仓库

View File

@ -1,4 +1,4 @@
package cn.citycraft.Yum.api; package pw.yumc.Yum.api;
import java.io.File; import java.io.File;
import java.net.URL; import java.net.URL;
@ -11,10 +11,10 @@ import org.bukkit.command.CommandSender;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;
import cn.citycraft.CommonData.UpdatePlugin; import cn.citycraft.CommonData.UpdatePlugin;
import cn.citycraft.Yum.manager.DownloadManager; import pw.yumc.Yum.manager.DownloadManager;
import cn.citycraft.Yum.manager.PluginInfo; import pw.yumc.Yum.manager.PluginInfo;
import cn.citycraft.Yum.manager.PluginsManager; import pw.yumc.Yum.manager.PluginsManager;
import cn.citycraft.Yum.manager.RepositoryManager; import pw.yumc.Yum.manager.RepositoryManager;
/** /**
* Yum管理中心 * Yum管理中心

View File

@ -1,4 +1,4 @@
package cn.citycraft.Yum.commands; package pw.yumc.Yum.commands;
import java.io.File; import java.io.File;
@ -10,9 +10,9 @@ import cn.citycraft.PluginHelper.commands.HandlerCommands;
import cn.citycraft.PluginHelper.commands.InvokeCommandEvent; import cn.citycraft.PluginHelper.commands.InvokeCommandEvent;
import cn.citycraft.PluginHelper.commands.InvokeSubCommand; import cn.citycraft.PluginHelper.commands.InvokeSubCommand;
import cn.citycraft.PluginHelper.utils.FileUtil; import cn.citycraft.PluginHelper.utils.FileUtil;
import cn.citycraft.Yum.Yum; import pw.yumc.Yum.Yum;
import cn.citycraft.Yum.api.YumAPI; import pw.yumc.Yum.api.YumAPI;
import cn.citycraft.Yum.manager.DownloadManager; import pw.yumc.Yum.manager.DownloadManager;
/** /**
* File命令基类 * File命令基类

View File

@ -1,4 +1,4 @@
package cn.citycraft.Yum.commands; package pw.yumc.Yum.commands;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
@ -22,11 +22,11 @@ import cn.citycraft.PluginHelper.commands.HandlerTabComplete;
import cn.citycraft.PluginHelper.commands.InvokeCommandEvent; import cn.citycraft.PluginHelper.commands.InvokeCommandEvent;
import cn.citycraft.PluginHelper.commands.InvokeSubCommand; import cn.citycraft.PluginHelper.commands.InvokeSubCommand;
import cn.citycraft.PluginHelper.utils.StringUtil; import cn.citycraft.PluginHelper.utils.StringUtil;
import cn.citycraft.Yum.Yum; import pw.yumc.Yum.Yum;
import cn.citycraft.Yum.api.YumAPI; import pw.yumc.Yum.api.YumAPI;
import cn.citycraft.Yum.manager.PluginsManager; import pw.yumc.Yum.manager.PluginsManager;
import cn.citycraft.Yum.manager.RepoSerialization.Repositories; import pw.yumc.Yum.manager.RepositoryManager;
import cn.citycraft.Yum.manager.RepositoryManager; import pw.yumc.Yum.manager.RepoSerialization.Repositories;
/** /**
* Yum命令基类 * Yum命令基类

View File

@ -1,4 +1,4 @@
package cn.citycraft.Yum.manager; package pw.yumc.Yum.manager;
import java.io.BufferedInputStream; import java.io.BufferedInputStream;
import java.io.File; import java.io.File;

View File

@ -1,4 +1,4 @@
package cn.citycraft.Yum.manager; package pw.yumc.Yum.manager;
import java.io.Serializable; import java.io.Serializable;
@ -7,9 +7,9 @@ import org.bukkit.command.CommandSender;
import cn.citycraft.PluginHelper.PluginHelperLogger; import cn.citycraft.PluginHelper.PluginHelperLogger;
import cn.citycraft.PluginHelper.utils.IOUtil; import cn.citycraft.PluginHelper.utils.IOUtil;
import cn.citycraft.Yum.manager.RepoSerialization.Plugin; import pw.yumc.Yum.manager.RepoSerialization.Plugin;
import cn.citycraft.Yum.manager.RepoSerialization.TagInfo; import pw.yumc.Yum.manager.RepoSerialization.TagInfo;
import cn.citycraft.Yum.manager.RepoSerialization.URLType; import pw.yumc.Yum.manager.RepoSerialization.URLType;
public class PluginInfo implements Serializable { public class PluginInfo implements Serializable {
public static final String NMSVersion = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3]; public static final String NMSVersion = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];

View File

@ -1,4 +1,4 @@
package cn.citycraft.Yum.manager; package pw.yumc.Yum.manager;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;

View File

@ -1,4 +1,4 @@
package cn.citycraft.Yum.manager; package pw.yumc.Yum.manager;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
@ -10,7 +10,7 @@ import java.util.Map.Entry;
import cn.citycraft.PluginHelper.PluginHelperLogger; import cn.citycraft.PluginHelper.PluginHelperLogger;
import cn.citycraft.PluginHelper.jsonresult.JsonHandle; import cn.citycraft.PluginHelper.jsonresult.JsonHandle;
import cn.citycraft.PluginHelper.utils.IOUtil; import cn.citycraft.PluginHelper.utils.IOUtil;
import cn.citycraft.Yum.manager.RepoSerialization.Repositories; import pw.yumc.Yum.manager.RepoSerialization.Repositories;
public class RepoCache implements Serializable { public class RepoCache implements Serializable {
PluginHelperLogger logger = PluginHelperLogger.getLogger(); PluginHelperLogger logger = PluginHelperLogger.getLogger();

View File

@ -1,7 +1,7 @@
/** /**
* *
*/ */
package cn.citycraft.Yum.manager; package pw.yumc.Yum.manager;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -1,7 +1,7 @@
/** /**
* *
*/ */
package cn.citycraft.Yum.manager; package pw.yumc.Yum.manager;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
@ -16,12 +16,12 @@ import cn.citycraft.PluginHelper.PluginHelperLogger;
import cn.citycraft.PluginHelper.jsonresult.JsonHandle; import cn.citycraft.PluginHelper.jsonresult.JsonHandle;
import cn.citycraft.PluginHelper.utils.IOUtil; import cn.citycraft.PluginHelper.utils.IOUtil;
import cn.citycraft.PluginHelper.utils.StringUtil; import cn.citycraft.PluginHelper.utils.StringUtil;
import cn.citycraft.Yum.manager.RepoSerialization.PackageInfo; import pw.yumc.Yum.manager.RepoSerialization.PackageInfo;
import cn.citycraft.Yum.manager.RepoSerialization.Plugin; import pw.yumc.Yum.manager.RepoSerialization.Plugin;
import cn.citycraft.Yum.manager.RepoSerialization.Repositories; import pw.yumc.Yum.manager.RepoSerialization.Repositories;
import cn.citycraft.Yum.manager.RepoSerialization.Repository; import pw.yumc.Yum.manager.RepoSerialization.Repository;
import cn.citycraft.Yum.manager.RepoSerialization.TagInfo; import pw.yumc.Yum.manager.RepoSerialization.TagInfo;
import cn.citycraft.Yum.manager.RepoSerialization.URLType; import pw.yumc.Yum.manager.RepoSerialization.URLType;
/** /**
* 仓库管理类 * 仓库管理类

View File

@ -3,7 +3,7 @@ description: ${project.description}
main: ${project.groupId}.${project.artifactId}.${project.artifactId} main: ${project.groupId}.${project.artifactId}.${project.artifactId}
version: ${project.version}-git-${env.GIT_COMMIT} version: ${project.version}-git-${env.GIT_COMMIT}
author: 喵♂呜 author: 喵♂呜
website: ${jenkins.url}/job/${project.artifactId}/ website: ${ciManagement.url}
commands: commands:
yum: yum:
description: MC插件仓库 description: MC插件仓库