I have an XML file that looks like this...
<foo>
<bar>$VALUE$</bar>
</foo>
Is there anyway I can merge this xml file and a .properties file using Maven or is this a task best left to Ant?
The resource plugin can copy with filtering, replacing a placeholder ($VALUE$ in this case) with a property value. Here's the relevant doc: http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
It should be noted that maven placeholders look like this: ${VALUE}.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With