From 6be14b59b1e93b2b08a63ec18558eebee73a1bf2 Mon Sep 17 00:00:00 2001 From: liquor <958142070@qq.com> Date: Wed, 5 Nov 2025 03:49:14 +0000 Subject: [PATCH] =?UTF-8?q?build:=20=E9=87=8D=E6=9E=84=E6=89=93=E5=8C=85?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BB=A5=E5=90=8C=E6=97=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=83=96=E5=8C=85=E5=92=8C=E7=98=A6=E5=8C=85=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- continew-server/pom.xml | 184 ++++++++++++++++++++++++++-------------- 1 file changed, 118 insertions(+), 66 deletions(-) diff --git a/continew-server/pom.xml b/continew-server/pom.xml index adedb318..50d80fc5 100644 --- a/continew-server/pom.xml +++ b/continew-server/pom.xml @@ -81,82 +81,134 @@ ${project.parent.name} - + - org.apache.maven.plugins - maven-jar-plugin + org.springframework.boot + spring-boot-maven-plugin - - - ${config-path} - db/ - templates/ - logback-spring.xml - - - - ${main-class} - - ../${lib-path} - true - - false - - - - ../${config-path} - - - ${project.build.directory}/app/${bin-path} + true + ${skip.boot.repackage} - - - - org.apache.maven.plugins - maven-dependency-plugin - copy-dependencies - package - copy-dependencies + repackage - - ${project.build.directory}/app/${lib-path} - - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - copy-resources - package - - copy-resources - - - - - src/main/resources/${config-path} - - - src/main/resources - - db/ - templates/ - logback-spring.xml - - - - ${project.build.directory}/app/${config-path} - + + + + + fat_jar + + false + + + + + + slim_jar + + + true + + + true + + + lib/ + config/ + bin/ + + top.continew.admin.ContiNewAdminApplication + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + ${config-path} + db/ + templates/ + logback-spring.xml + + + + ${main-class} + + ../${lib-path} + true + + false + + + + ../${config-path} + + + ${project.build.directory}/app/${bin-path} + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + package + + copy-dependencies + + + ${project.build.directory}/app/${lib-path} + + + + + + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-resources + package + + copy-resources + + + + + src/main/resources/${config-path} + + + src/main/resources + + db/ + templates/ + logback-spring.xml + + + + ${project.build.directory}/app/${config-path} + + + + + + + + + \ No newline at end of file