From 56c45e1f4be85d6bbfb3a03437021c6742b32ad9 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 24 八月 2023 18:29:30 +0800 Subject: [PATCH] 前端代码打包 --- Source/UBCS/pom.xml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 56 insertions(+), 2 deletions(-) diff --git a/Source/UBCS/pom.xml b/Source/UBCS/pom.xml index d1e106b..fea5180 100644 --- a/Source/UBCS/pom.xml +++ b/Source/UBCS/pom.xml @@ -10,7 +10,6 @@ <properties> <bladex.project.version>3.0.1.RELEASE</bladex.project.version> - <java.version>1.8</java.version> <maven.plugin.version>3.8.0</maven.plugin.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> @@ -41,7 +40,7 @@ <module>ubcs-plugin-api</module> <module>ubcs-service</module> <module>ubcs-service-api</module> - <module>ubcs-codeApply</module> +<!-- <module>ubcs-codeApply</module>--> </modules> <dependencyManagement> @@ -209,6 +208,61 @@ </compilerArgs> </configuration> </plugin> + + <!-- 鎵撳寘鏃跺墧闄ar锛屾斁缃湪lib褰撲腑 --> + <!-- <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + <version>${spring.boot.version}</version> <!– 濡傛灉 spring.boot.version 鐗堟湰淇敼锛屽垯杩欓噷涔熻璺熺潃淇敼 –> + <configuration> + <fork>true</fork> + <!–瑙e喅windows鍛戒护琛岀獥鍙d腑鏂囦贡鐮�–> + <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments> + <!– 鎷嗗紑渚濊禆–> + <mainClass>cn.iocoder.qingning.server.QingningServerApplication</mainClass> + <layout>ZIP</layout> + <includes> + <include> + <!– 鎺掗櫎鎵�鏈塉ar –> + <groupId>nothing</groupId> + <artifactId>nothing</artifactId> + </include> + </includes> + </configuration> + <executions> + <execution> + <goals> + <goal>repackage</goal> <!– 灏嗗紩鍏ョ殑 jar 鎵撳叆鍏朵腑 –> + </goals> + </execution> + </executions> + </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/lib</outputDirectory> + <excludeTransitive>false</excludeTransitive> + <stripVersion>false</stripVersion> + <includeScope>runtime</includeScope> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin>--> </plugins> </build> -- Gitblit v1.9.3