在使用maven的resources插件filter功能是,如果filter功能不生效。
可以使用
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<useDefaultDelimiters>true</useDefaultDelimiters>
</configuration>
</plugin>
这个配置
也可以将替换掉符用@@