From db331894dca28ceadb69f53194a4a62edb9ce9e5 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 13 十二月 2023 11:50:30 +0800 Subject: [PATCH] 特殊字符转义类修改,pom调整打包方式,编写systemctl命令方式启动脚本 --- Source/UBCS/ubcs-auth/pom.xml | 28 ++++++++++++++++++++++++++-- 1 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Source/UBCS/ubcs-auth/pom.xml b/Source/UBCS/ubcs-auth/pom.xml index 1950919..cce9282 100644 --- a/Source/UBCS/ubcs-auth/pom.xml +++ b/Source/UBCS/ubcs-auth/pom.xml @@ -132,6 +132,11 @@ <artifactId>activation</artifactId> <version>1.1.1</version> </dependency>--> + <dependency> + <groupId>com.vci.ubcs</groupId> + <artifactId>ubcs-util-api</artifactId> + <version>3.0.1.RELEASE</version> + </dependency> </dependencies> <build> @@ -143,16 +148,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