Is it possible to have maven filtering applied on resources (such as spring files) that are stored in dependencies?
A spring file in one of my dependent jars uses the property ${project.artifactId}. How can I apply filtering to this spring file so I can import the resource in my local spring file?
You can unpack the jar first by using the unpack goal in the maven dependency plugin.
You can then apply filtering using the resources plugin.
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