put it in a jar file (make a module just for it) and add that module as a dependency to all the projects that need it

Sent from my iPod

On 10 Dec 2008, at 20:35, CheapLisa <[EMAIL PROTECTED]> wrote:



I have a project with many modules (over 30) and some are nested 2-3 deep.

With Maven / Log4J I have to put two log4j.xml files in every module:
   src/main/resources/log4j.xml
   src/test/resources/log4j.xml

   This is usually the same file over and over again.

   1)
   How can I have one single log4j.xml file for all tests
(src/test/resources/) and one log4j.xml file for
   all code (/src/main/resources/)

   2)
How can I have one single log4j.xml file for all modules in the project?

   thanks

   L
--
View this message in context: 
http://www.nabble.com/How-to-have-a-single-log4j.xml-file-in-a-multi-module-project--tp20943438p20943438.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to