From 6d03070eb70bbd342ae71d66e29e5ecbceb81b57 Mon Sep 17 00:00:00 2001 From: TanYibin <5491541@qq.com> Date: Wed, 20 Dec 2023 10:57:43 +0800 Subject: [PATCH] 获取pom文件内容失效问题解决 --- huaheng-wms-core/pom.xml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/huaheng-wms-core/pom.xml b/huaheng-wms-core/pom.xml index 8a830cf..d46025e 100644 --- a/huaheng-wms-core/pom.xml +++ b/huaheng-wms-core/pom.xml @@ -1,6 +1,6 @@ <?xml version="1.0"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> @@ -220,7 +220,7 @@ <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> - <!-- 启动jar包命令:包含引入lib包,开启远程调试端口7080,启动环境选择 java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=7080,suspend=n -jar -Dloader.path=./lib + <!-- 启动jar包命令:包含引入lib包,开启远程调试端口7080,启动环境选择 java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=7080,suspend=n -jar -Dloader.path=./lib -Dspring.profiles.active=prod huaheng-wms-core.jar --> <configuration> <mainClass>org.jeecg.JeecgSystemApplication</mainClass> @@ -245,6 +245,20 @@ <resource> <directory>src/main/resources</directory> <filtering>false</filtering> + <excludes> + <exclude>**/*.yml</exclude> + <exclude>**/*.xml</exclude> + <exclude>**/*.properties</exclude> + </excludes> + </resource> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + <includes> + <include>**/*.yml</include> + <include>**/*.xml</include> + <include>**/*.properties</include> + </includes> </resource> <resource> <directory>src/main/java</directory> -- libgit2 0.22.2