I have a Maven project that downloads some test files into its build directory ./target/files. These files should then be available to a servlet, which I can ea
You can simply use maven filtering resources:
...
src/main/resources
true
...
...
...
You can also combine this and would like to filter some files whereas others shouldn't be filtered:
src/main/resources
true
**/*.xml
src/main/resources
false
**/*.xml
...
Put appropriate placeholders into the files you would like having replaced things like ${home}.