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 | 47 +++++++++++++++++++++++++++++++++++++----------
1 files changed, 37 insertions(+), 10 deletions(-)
diff --git a/smart-man-boot/pom.xml b/smart-man-boot/pom.xml
index 5b64850..518aabd 100644
--- a/smart-man-boot/pom.xml
+++ b/smart-man-boot/pom.xml
@@ -134,16 +134,7 @@
<artifactId>smart-starter-social</artifactId>
<version>1.0.0</version>
</dependency>
- <!--
-
- -->
-
- <!--
-
-
-
- -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-ui</artifactId>
@@ -397,6 +388,13 @@
<!--<version>1.1.0-SNAPSHOT</version>-->
<version>1.0.4</version>
</dependency>
+ <!--鍗冩枃瀵嗛挜璁よ瘉-->
+ <dependency>
+ <groupId>com.qianwen</groupId>
+ <artifactId>license-common</artifactId>
+ <version>1.0.0</version>
+ </dependency>
+
<!-- 鍥剧墖鍘嬬缉 -->
<dependency>
<groupId>net.coobird</groupId>
@@ -511,6 +509,14 @@
<artifactId>jfreechart</artifactId>
<version>1.5.5</version>
</dependency>
+
+ <!--lincense楠岃瘉-->
+ <dependency>
+ <groupId>de.schlichtherle.truelicense</groupId>
+ <artifactId>truelicense-core</artifactId>
+ <version>1.33</version>
+ </dependency>
+
</dependencies>
<build>
@@ -591,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