Packaging a Property File in a Maven Project
When working with a Maven project, property (e.g. config.properties) files are not copied to the build as a default. The easiest way to have them appear in the final jar is to put them in ${basedir}/src/main/resources.
As a result your property file will be copied at the root of your packaged jar.
June 25th, 2010 in
Java