From 44ddd8b35ab6aa48b7f8bc878a2b6dd3aba6ba24 Mon Sep 17 00:00:00 2001
From: zhangdaiscott <zhangdaiscott@163.com>
Date: Wed, 18 May 2022 17:58:51 +0800
Subject: [PATCH] SpringCloud运行环境的配置,排除system模块jar里的yaml

---
 jeecg-boot/jeecg-boot-module-system/pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/jeecg-boot/jeecg-boot-module-system/pom.xml b/jeecg-boot/jeecg-boot-module-system/pom.xml
index 2be5ef6..db30358 100644
--- a/jeecg-boot/jeecg-boot-module-system/pom.xml
+++ b/jeecg-boot/jeecg-boot-module-system/pom.xml
@@ -76,11 +76,21 @@
 				<resources>
 					<resource>
 						<directory>src/main/resources</directory>
+						<filtering>true</filtering>
+						<!-- SpringCloud运行环境的配置,排除system模块jar里的yaml -->
 						<excludes>
 							<exclude>application.yml</exclude>
 							<exclude>application-*.yml</exclude>
 						</excludes>
 					</resource>
+					<resource>
+						<directory>src/main/java</directory>
+						<includes>
+							<include>**/*.xml</include>
+							<include>**/*.json</include>
+							<include>**/*.ftl</include>
+						</includes>
+					</resource>
 				</resources>
 			</build>
 		</profile>
--
libgit2 0.22.2