From 0bd132f2b73665dbc9f5868678b0963693d06434 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 1 Sep 2015 19:14:46 +0800 Subject: [PATCH] update Version and fix VersionChecker... Signed-off-by: 502647092 --- pom.xml | 1 + .../java/cn/citycraft/SimpleEssential/utils/VersionChecker.java | 2 +- src/main/resources/plugin.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6ca5cc7..e469850 100644 --- a/pom.xml +++ b/pom.xml @@ -41,4 +41,5 @@ UTF-8 + 轻量级基础插件 \ No newline at end of file diff --git a/src/main/java/cn/citycraft/SimpleEssential/utils/VersionChecker.java b/src/main/java/cn/citycraft/SimpleEssential/utils/VersionChecker.java index 5b58d2f..6aebcbb 100644 --- a/src/main/java/cn/citycraft/SimpleEssential/utils/VersionChecker.java +++ b/src/main/java/cn/citycraft/SimpleEssential/utils/VersionChecker.java @@ -47,7 +47,7 @@ public class VersionChecker implements Listener { public VersionChecker(Plugin plugin, String branch) { this.plugin = plugin; plugin.getServer().getPluginManager().registerEvents(this, plugin); - this.checkurl = branch; + this.branch = branch; this.versioncheck(null); } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 9e97761..76ed081 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,4 +1,5 @@ name: ${project.artifactId} +description: ${project.description} main: ${project.groupId}.${project.artifactId}.${project.artifactId} website: http://ci.citycraft.cn:8800/jenkins/job/${project.artifactId}/ version: ${project.version}