码迷,mamicode.com
首页 > 其他好文 > 详细

Maven配置资源过滤

时间:2021-01-12 11:11:17      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:配置   XML   rect   maven   ring   clu   tor   director   sources   

<build>
    <resources>
        <resource>
            <directory>src/main/java</directory>
            <includes>
                <include>**/*.properties</include>
                <include>**/*.xml</include>
            </includes>
            <filtering>true</filtering>
        </resource>
        <resource>
            <directory>src/main/resources</directory>
            <includes>
                <include>**/*.properties</include>
                <include>**/*.xml</include>
            </includes>
            <filtering>true</filtering>
        </resource>
    </resources>
</build>

Maven配置资源过滤

标签:配置   XML   rect   maven   ring   clu   tor   director   sources   

原文地址:https://www.cnblogs.com/chenyi502/p/14258386.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!