From 6ab594efcea546f0999937f23afdca52214a8c47 Mon Sep 17 00:00:00 2001 From: "970473687@qq.com" Date: Sun, 27 Feb 2022 21:47:20 +0800 Subject: [PATCH] =?UTF-8?q?config=20=E5=A2=9E=E5=8A=A0=E6=89=93=E5=8C=85?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E6=89=93=E5=8C=85=E5=90=8E=E7=94=9F?= =?UTF-8?q?=E6=88=90zip=E6=96=87=E4=BB=B6=EF=BC=8C=E5=8F=AF=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E9=83=A8=E7=BD=B2=EF=BC=88=E8=A6=86=E7=9B=96=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E7=8E=AF=E5=A2=83=EF=BC=89=EF=BC=9Aconfig=E3=80=81WEB?= =?UTF-8?q?-INF=E3=80=81template=E3=80=81static=E3=80=81ms-mcms.jar?= =?UTF-8?q?=E3=80=81*.sh=E3=80=81*.bat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 33 +++++++++++++++++---- src/main/scripts/assembly.xml | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 6 deletions(-) create mode 100644 src/main/scripts/assembly.xml diff --git a/pom.xml b/pom.xml index 99282139..e143caf4 100644 --- a/pom.xml +++ b/pom.xml @@ -120,12 +120,12 @@ src/main/webapp - - - - + static/ + html/ + upload/ + template/ - + WEB-INF/ @@ -139,7 +139,6 @@ - org.springframework.boot spring-boot-maven-plugin @@ -148,6 +147,7 @@ true + org.apache.maven.plugins maven-compiler-plugin @@ -172,6 +172,27 @@ + + maven-assembly-plugin + 3.1.1 + + + build-package + package + + single + + + ms-mcms + + src/main/scripts/assembly.xml + + + + + + + compile diff --git a/src/main/scripts/assembly.xml b/src/main/scripts/assembly.xml new file mode 100644 index 00000000..d9a71c40 --- /dev/null +++ b/src/main/scripts/assembly.xml @@ -0,0 +1,55 @@ + + assembly + + + zip + + + true + + + + src/main/resources + ${file.separator}config + + */** + + + + bin + ${file.separator} + + */** + + + + src/main/webapp/static + ${file.separator}static + + */** + + + + src/main/webapp/template + ${file.separator}template + + */** + + + + src/main/webapp/WEB-INF + ${file.separator}WEB-INF + + */** + + + + + + + ${project.build.directory}/${project.build.finalName}.jar + ${file.separator} + + + -- Gitee