• 微信公众号:美女很有趣。 工作之余,放松一下,关注即送10G+美女照片!

解决Maven资源过滤

开发技术 开发技术 2周前 (04-29) 7次浏览
<build>
   <resources>
       <resource>
           <directory>src/main/java</directory>
           <includes>
               <include>**/*.properties</include>
               <include>**/*.xml</include>
           </includes>
           <filtering>false</filtering>
       </resource>
       <resource>
           <directory>src/main/resources</directory>
           <includes>
               <include>**/*.properties</include>
               <include>**/*.xml</include>
           </includes>
           <filtering>false</filtering>
       </resource>
   </resources>
</build>

程序员灯塔
转载请注明原文链接:解决Maven资源过滤
喜欢 (0)