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