When using Maven Resources Plugin to filter resources is there a way to refer to currently processed resource file path?
For example if I have a YAML resource src/main/resources/config.yml
with content:
app:
location: ${filePath}
I'd like the ${filePath}
token to be replaced with either relative or absolute resource file path resulting in:
app:
location: src/main/resources/config.yml
Is there a Maven provided property that can be used to get the processed resource file path? I can't hardcode one path in Maven properties because there will be different resource that should be filtered with their own path.