标签:
<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>
标签:
原文地址:http://www.cnblogs.com/yuanye007/p/5465066.html