<build> <resources> <resource> <directory>${project.basedir}/src/main/resources</directory> <!--为主资源目录开启过滤--> <filtering>true</filtering> </resource> </resources> <testResources> <testResource> <directory>${project.basedir}/src/test/resources</directory> <!--为测试资料目录开启过滤功能--> <filtering>true</filtering> </testResource> </testResources> </build>
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/6507.html