From f5ad6d7c11dd4a55904cec9ae229f85dfe03eec4 Mon Sep 17 00:00:00 2001 From: GeekFrog Date: Fri, 7 Jul 2017 18:59:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assembly/package.xml | 14 ++++ pom.xml | 69 ++++++++++++++++++- .../frog/mc/permissionstime/PluginMain.java | 2 + 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 assembly/package.xml diff --git a/assembly/package.xml b/assembly/package.xml new file mode 100644 index 0000000..0896926 --- /dev/null +++ b/assembly/package.xml @@ -0,0 +1,14 @@ + + bin + false + + zip + + + + ${project.build.directory}/${artifactId}.jar + / + PermissionsTime.jar + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index d305802..b19705a 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,8 @@ - src/main + PermissionsTime + ${basedir}/src/main src/resources @@ -44,8 +45,74 @@ 1.8 1.8 + + + + maven-assembly-plugin + + + assembly/package.xml + + + + + build + package + + single + + + + + + org.apache.maven.plugins + maven-shade-plugin + 1.5 + + + + commons-logging:commons-logging + org.apache.tomcat:tomcat-jdbc + org.apache.tomcat:tomcat-juli + + + + + org.apache.commons.logging + com.gmail.nossr50.commons.logging + + + org.apache.juli + com.gmail.nossr50.database.tomcat.juli + + + org.apache.tomcat + com.gmail.nossr50.database.tomcat + + + + + + package + + shade + + + + + + + org.apache.maven.wagon + wagon-file + 2.2 + + + + Jenkins + http://jenkins.frog.gg/jenkins/job/PermissionsTime/ + \ No newline at end of file diff --git a/src/main/gg/frog/mc/permissionstime/PluginMain.java b/src/main/gg/frog/mc/permissionstime/PluginMain.java index 37faf05..b4e6f47 100644 --- a/src/main/gg/frog/mc/permissionstime/PluginMain.java +++ b/src/main/gg/frog/mc/permissionstime/PluginMain.java @@ -28,6 +28,8 @@ public class PluginMain extends JavaPlugin { cm = new ConfigManager(this); pm.getServer().getConsoleSender().sendMessage(StrUtil.messageFormat(PluginCfg.PLUGIN_PREFIX + "===============================")); pm.getServer().getConsoleSender().sendMessage(StrUtil.messageFormat(PluginCfg.PLUGIN_PREFIX + " " + PluginMain.PLUGIN_NAME + " v" + PluginMain.PLUGIN_VERSION)); + pm.getServer().getConsoleSender().sendMessage(StrUtil.messageFormat(PluginCfg.PLUGIN_PREFIX + " 作者:宅宅蛙 QQ:324747460")); + pm.getServer().getConsoleSender().sendMessage(StrUtil.messageFormat(PluginCfg.PLUGIN_PREFIX + " https://github.com/geekfrog/PermissionsTime/ ")); pm.getServer().getConsoleSender().sendMessage(StrUtil.messageFormat(PluginCfg.PLUGIN_PREFIX)); }