From 81c8a849ed4e57141e29c62d9b3a1ffc605ece44 Mon Sep 17 00:00:00 2001 From: xiejun <309858992@qq.com> Date: 星期五, 05 一月 2024 18:14:42 +0800 Subject: [PATCH] fff --- Source/UBCS/ubcs-gateway/pom.xml | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Source/UBCS/ubcs-gateway/pom.xml b/Source/UBCS/ubcs-gateway/pom.xml index 2b0073d..16d3f2d 100644 --- a/Source/UBCS/ubcs-gateway/pom.xml +++ b/Source/UBCS/ubcs-gateway/pom.xml @@ -85,16 +85,35 @@ <outputDirectory>../target</outputDirectory> </configuration> </plugin> - <plugin> + <!--<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <configuration> <outputDirectory>./target/libs</outputDirectory> </configuration> - </plugin> + </plugin>--> <plugin> <artifactId>maven-surefire-plugin</artifactId> </plugin> + <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> + <outputDirectory>../target/libs</outputDirectory> + <excludeTransitive>false</excludeTransitive> + <stripVersion>false</stripVersion> + <includeScope>runtime</includeScope> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> -- Gitblit v1.9.3