<build>
<resources>
<!-- 加载src/main/java目录下的配置文件 -->
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
加载src/main/java目录下的配置文件
最新推荐文章于 2024-05-30 22:58:17 发布