maven resources filter 与springboot冲突

当使用spring-boot-starter-parent时,maven resources filter将失效,因为spring使用 p l a c e h o l d e r , {}作为配置的placeholder,因此需要将 {var}修改为@var@,过滤功能即可恢复。

详情请查看:https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.3-Release-Notes#maven-resources-filtering

猜你喜欢

转载自blog.csdn.net/heruil/article/details/82945553
今日推荐