I wrote a Java Web Application where I replace URLs to static content at build time to add version information, primarely for caching.
For example, href=\"mya
I tried all answers here but no one worked for me. I manage to work around this issue by making multiple "single replacement" executions of the plugin
com.google.code.maven-replacer-plugin
replacer
false
replace-xxx.properties
install
replace
false
target/xxx.properties
$${dev.mail.server.address}
xxx
$${dev.mail.server.port}
yyyy
${dev.
${
false
replace-zzz-config.properties
install
replace
false
target/zzz-config.properties
$${dev.hazelcast.client.group.name}
ttt
${dev.
${
false
replace-aaa-security.properties
install
replace
false
target/aaa-security.properties
${dev.
${
false