<build>
<resources>
<resource>
<directory>src/main/java</directory> 需要编译的路径
<includes>
<include>**/*.xml</include> 需要编译的文件后缀
</includes>
</resource>
</resources>
</build>
<resources>
<resource>
<directory>src/main/java</directory> 需要编译的路径
<includes>
<include>**/*.xml</include> 需要编译的文件后缀
</includes>
</resource>
</resources>
</build>