Maven静态资源过滤问题

在项目工程的 porm.xml中插入以下代码即可

	<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>
上一篇:自己动手搭建react-ssr服务器端渲染项目架构


下一篇:hibernate 对象三态(瞬态、持久态、脱管态)之我见