What is the Maven approach to deal with config files that will be eventually located outside the generated .war/.ear?
I have some config files that during development are in a common-configuration module which is a dependency of my webapp module, but I want some files to be located at different locations during deployment.
You can use the maven-assembly-plugin:
the file description.xml should look something like this:
During deployment you can untar or unzip the generated file. The content of the tar/zip-file will look something like this: