From b648750f9764229c37ee96c04c47c07f521295b7 Mon Sep 17 00:00:00 2001 From: Lemon <1599456917@qq.com> Date: Tue, 25 Feb 2025 13:38:55 +0800 Subject: [PATCH] =?UTF-8?q?maven=20jar=E5=8C=85=20=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=88=86=E7=A6=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-server/pom.xml | 141 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 122 insertions(+), 19 deletions(-) diff --git a/yudao-server/pom.xml b/yudao-server/pom.xml index efd53c84a5..92c1c1b0e5 100644 --- a/yudao-server/pom.xml +++ b/yudao-server/pom.xml @@ -130,24 +130,127 @@ - - - ${project.artifactId} - - - - org.springframework.boot - spring-boot-maven-plugin - ${spring.boot.version} - - - - repackage - - - - - - + + ${project.artifactId} + + + + org.apache.maven.plugins + maven-jar-plugin + + + + *.properties + *.yml + *.xml + *.txt + + + + true + + + lib/ + + false + + + + + + + ./resources/ + + + ${project.build.directory} + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + package + + copy-dependencies + + + ${project.build.directory}/lib/ + + + + + + + + maven-resources-plugin + + + + copy-resources + package + + copy-resources + + + + + src/main/resources + + *.properties + *.yml + *.xml + *.txt + + + + ${project.build.directory}/resources/ + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + YouDao + + + + null + null + + + ${project.build.directory} + + + + + repackage + + + + + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + + +