解决Maven静态资源导出问题(在pom.xml下添加以下代码)

<!--解决Maven静态资源导出问题-->
<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>
posted @ 2020-12-18 16:55  钱蒋蒋i  阅读(79)  评论(0编辑  收藏  举报