By default, Maven will replace placeholders in files in the resources folder This is usually your src/main/resources folder.
Maven resources plugin does this. It is available out of the box, and bound by default to the process-resources phase. As long as you are following conventions, you shouldn't need to do anything to filter the resource