From fcdee3b9c488124a90c9f276be582ba6aac5c75e Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期五, 16 五月 2025 11:01:08 +0800
Subject: [PATCH] 增加lib打包配置
---
smart-man-boot/pom.xml | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/smart-man-boot/pom.xml b/smart-man-boot/pom.xml
index d3612b7..518aabd 100644
--- a/smart-man-boot/pom.xml
+++ b/smart-man-boot/pom.xml
@@ -597,7 +597,28 @@
</compilerArgs>
</configuration>
</plugin>
-
+ <!--浣跨敤: mvn -pl smart-man-boot clean dependency:copy-dependencies-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <!-- 鎷疯礉椤圭洰渚濊禆鍖呭埌lib/鐩綍涓� -->
+ <outputDirectory>${project.build.directory}/lib</outputDirectory>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>false</overWriteSnapshots>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
--
Gitblit v1.9.3