diff --git a/blade-core-launch/src/main/java/org/springblade/core/launch/BladeApplication.java b/blade-core-launch/src/main/java/org/springblade/core/launch/BladeApplication.java index 8b72da5..dff66db 100644 --- a/blade-core-launch/src/main/java/org/springblade/core/launch/BladeApplication.java +++ b/blade-core-launch/src/main/java/org/springblade/core/launch/BladeApplication.java @@ -35,12 +35,11 @@ public class BladeApplication { /** * Create an application context + * java -jar app.jar --spring.profiles.active=prod --server.port=2333 * * @param appName application name * @param source The sources - * @param args args the command line arguments * @return an application context created from the current state - * @run java -jar app.jar --spring.profiles.active=prod --server.port=2333 */ public static ConfigurableApplicationContext run(String appName, Class source, String... args) { SpringApplicationBuilder builder = createSpringApplicationBuilder(appName, source, args); diff --git a/blade-core-tool/src/main/java/org/springblade/core/tool/utils/OkHttpUtil.java b/blade-core-tool/src/main/java/org/springblade/core/tool/utils/OkHttpUtil.java index 2e4f5cc..a39059a 100644 --- a/blade-core-tool/src/main/java/org/springblade/core/tool/utils/OkHttpUtil.java +++ b/blade-core-tool/src/main/java/org/springblade/core/tool/utils/OkHttpUtil.java @@ -116,7 +116,6 @@ public class OkHttpUtil { /** * POST请求发送JSON数据 - * * @param url * @param header * @param json diff --git a/pom.xml b/pom.xml index ce4a537..6bda87d 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,9 @@ 2.0.7.RELEASE Finchley.SR2 Cairo-SR5 + + UTF-8 + UTF-8 @@ -161,47 +164,31 @@ - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - package - - jar-no-fork - - - + maven-compiler-plugin + ${maven.plugin.version} + + ${java.version} + ${java.version} + UTF-8 + + -parameters + + - org.apache.maven.plugins maven-javadoc-plugin 2.9.1 - - - package - - jar - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - verify - - sign - - - + maven-surefire-plugin + 2.18.1 + + true + @@ -242,29 +229,48 @@ release - - - org.apache.maven.plugins - maven-jar-plugin - 3.1.0 - - + org.apache.maven.plugins maven-source-plugin - 3.0.1 - - true - + 2.2.1 - compile + package + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + package jar + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + verify + + sign + + + +