I want to be able to use different log4j configuration for different environments.
In my development environment, I want to use log4j.properties (A). But when I bui
You can use profiles to achieve the desired behavior:
org.apache.maven.plugins maven-resources-plugin 2.5 log4j process-resources copy-resources output_directory ${log4j.file} dev true path_to_file_A prod path_to_file_B