SpringCloud运行环境的配置,排除system模块jar里的yaml

pull/3961/head
zhangdaiscott 3 years ago
parent a6ae4080cb
commit c3e049cbd0

@ -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>

Loading…
Cancel
Save