<!-- 如果不添加此节点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>
posted on 2018-08-01 10:15  YKKKK  阅读(1234)  评论(0编辑  收藏  举报