In a typical maven project directory structure, resource files, such as properties file, should be placed in src/main/resources. For example, if you have a properties file named com.xyz.business.forms.properties, it should be located at:
but these properties files are used by these classes and they have be present in those folders only
The resources will be copied into the same target/classes directory as your compiled classes, and thus classes and resources will reside in the same folder. It is only during editing time that the java source file and resources appear in different locations.
Joined: Jul 04, 2004
Thanks Peter !!!
subject: Copy any properties files to classes folder using maven