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>