From 3f0dee08268b61acd5ccf1896796a40f9fbe5732 Mon Sep 17 00:00:00 2001 From: wh Date: Thu, 9 Apr 2026 19:39:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(deploy):=20pom.xml=20=E6=9B=BF=E6=8D=A2=20?= =?UTF-8?q?fat=20JAR=20=E2=86=92=20=E8=96=84=20jar=20+=20maven-dependency?= =?UTF-8?q?=20+=20maven-assembly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 57 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 49 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 86420a7..6d7fd4b 100644 --- a/pom.xml +++ b/pom.xml @@ -145,18 +145,59 @@ + + - org.springframework.boot - spring-boot-maven-plugin + org.apache.maven.plugins + maven-jar-plugin - - - org.projectlombok - lombok - - + ${project.build.directory}/libs + + + com.label.LabelBackendApplication + false + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + package + copy-dependencies + + ${project.build.directory}/libs + test + + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + create-distribution + package + single + + + src/main/assembly/distribution.xml + + ${project.artifactId}-${project.version} + false + + + + +