From 53849e4f747298e7aa762c73d5e34ae4bbfa1e8b Mon Sep 17 00:00:00 2001 From: Kane Wang Date: Mon, 9 May 2022 17:03:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=BF=9B=E5=BA=A6=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/java/DisasterWarning/pom.xml | 18 ++++++++++++++++-- .../DisasterWarning/src/main/java/AppMain.java | 3 +-- .../src/main/resource/assembly.xml | 0 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 code/java/DisasterWarning/src/main/resource/assembly.xml diff --git a/code/java/DisasterWarning/pom.xml b/code/java/DisasterWarning/pom.xml index 273170b..98bcb1c 100644 --- a/code/java/DisasterWarning/pom.xml +++ b/code/java/DisasterWarning/pom.xml @@ -80,9 +80,23 @@ compile - + ${maven-assmenbly-plugin.version} + + + make-assmenbly + package + + single + + + + + src/main/resource/assmebly.xml + + diff --git a/code/java/DisasterWarning/src/main/java/AppMain.java b/code/java/DisasterWarning/src/main/java/AppMain.java index c71e3e6..7562096 100644 --- a/code/java/DisasterWarning/src/main/java/AppMain.java +++ b/code/java/DisasterWarning/src/main/java/AppMain.java @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2022-04-22 10:53:49 * @LastEditors: Kane - * @LastEditTime: 2022-05-06 17:21:27 + * @LastEditTime: 2022-05-09 15:43:57 * @FilePath: \DisasterWarning\src\main\java\AppMain.java * @Description: 和风天气预警推送厦门太保公众号主程序! * @@ -45,7 +45,6 @@ public class AppMain return; } - // 读取配置 try { diff --git a/code/java/DisasterWarning/src/main/resource/assembly.xml b/code/java/DisasterWarning/src/main/resource/assembly.xml new file mode 100644 index 0000000..e69de29