ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

maven资源过滤文件

2021-09-23 16:03:33  阅读:21  来源: 互联网

标签:xml 文件 java src maven 过滤 main true properties


<!--maven的资源过滤问题-->
<build>
    <resources>
        <resource>
            <directory>src/main/resources</directory>
            <includes>
                <include>**/*.properties</include>
                <include>**/*.xml</include>
            </includes>
            <filtering>true</filtering>
        </resource>
        <resource>
            <directory>src/main/java</directory>
            <includes>
                <include>**/*.properties</include>
                <include>**/*.xml</include>
            </includes>
            <filtering>true</filtering>
        </resource>
    </resources>
</build>

标签:xml,文件,java,src,maven,过滤,main,true,properties
来源: https://www.cnblogs.com/henrystudy/p/15324571.html

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有