From 45438a90a3b265df3ada4e0eaef1bc8c27c39729 Mon Sep 17 00:00:00 2001 From: RYAN0UP_ Date: Wed, 2 May 2018 10:10:17 +0800 Subject: [PATCH] =?UTF-8?q?:apple:=20=E4=BF=AE=E6=94=B9pom.xml=E7=9A=84?= =?UTF-8?q?=E6=89=93=E5=8C=85=E6=96=B9=E5=BC=8F=EF=BC=8C=E6=96=B0=E5=A2=9E?= =?UTF-8?q?dev=E5=92=8Cprod=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/halo.sh | 2 +- pom.xml | 154 +++++++++++++++++++++++++++++----------------------- 2 files changed, 87 insertions(+), 69 deletions(-) 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 + + + + +