Is there any way to share resources between modules of a parent project in Maven? For example, I would like to specify one log4j.properties file for all the modules in a multi-module Maven project.
Generally, I use Eclipse IDE to create the parent project by choosing a general project and then convert it to a Maven project by specifying a packaging of
I'd create one additional "base" module (project), packaging "jar", that contains the common resources in
src/main/resources. Then I'd make the other modules depend on that project. Now they see the common resources on their classpaths.