jrebelmybatisxml⽂件热部署
<build>
<!--添加xml maven打包配置,Java⽬录下的XML⽂件maven不会打包,顾添加如下配置打包java⽬录下的mybatis mapper xml⽂件-->    <resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
</includes>
<!--是否替换资源中的属性-->
java xml是什么<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。