so I could make a module for it say logging/pom.xml and then put a
<dependency> to it in a parent pom that all sub-modules have as a parent-pom
and this would work?

thanks

L



Stephen Connolly-2 wrote:
> 
> 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 <l...@purpleblade.net> 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: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to