Maven约定大于配置 可能导致配置文件无法导出或生效的问题
解决方法
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>
标签:xml,导出,maven,main,true,properties,资源 From: https://www.cnblogs.com/On1on/p/17290202.html