diff --git a/bin/halo.sh b/bin/halo.sh index e0bb1bebb..427704ed2 100644 --- a/bin/halo.sh +++ b/bin/halo.sh @@ -1,5 +1,5 @@ #!/bin/bash -APP_NAME=halo-beta.jar +APP_NAME=halo-0.0.1.jar usage() { echo "用法: sh halo.sh [start(启动)|stop(停止)|restart(重启)|status(状态)]" diff --git a/pom.xml b/pom.xml index 9b63ad51f..991e96928 100755 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 cc.ryanc halo - beta + 0.0.1 halo @@ -133,75 +133,93 @@ 18.0 + + + + prod + + halo + + + src/main/java + false + + **/*.java + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + - - halo - - - src/main/java - false - - **/*.java - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - - + + maven-compiler-plugin + + 1.8 + 1.8 + UTF-8 + + - - maven-compiler-plugin - - 1.8 - 1.8 - UTF-8 - - + + maven-assembly-plugin + + false + + assembly.xml + + ${project.build.directory}/dist/ + + + + make-assembly + package + + single + + + + - - maven-assembly-plugin - - false - - assembly.xml - - ${project.build.directory}/dist/ - - - - make-assembly - package - - single - - - - + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + + cc.ryanc.halo.Application + lib/ + true + + + resources/ + + + + + + + - - - org.apache.maven.plugins - maven-jar-plugin - 2.4 - - - - cc.ryanc.halo.Application - lib/ - true - - - resources/ - - - - - - + + + dev + + + + org.springframework.boot + spring-boot-maven-plugin + + + + +