<build> <resources> <resource> <directory>src/main/java</directory> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> </resources> </build>
以上是把配置文件打到所在包下,下面的是针对resource下面的配置文件的
<resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> </resource>
时间: 2024-10-17 06:48:34