<!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
<resources>
<!--新版本IDEA 开发工具maven编译不支持xml文件的编译,eclipse不影响-->
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>