commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dIon Gillard <>
Subject Re: -D and Maven
Date Wed, 04 Jun 2003 03:48:07 GMT
Bryan Zarnett wrote:

> Afternoon, 
> In Maven, what is the best approach to pass the -D parameters down the tube so that Log4j
and the classes it calls get the details? I am currently using the J2SE Logging in my code
and have a custom logging properties file I want to set. 
> I need to do a -Djava.util.logging.config.file=XXXX to Maven for my tests to pick this
up. (or something to that extent) 
> Thanks for any info. 

maven -Djava.util.logging.config.file=XXXX

should do the trick, or am I missing something here?

Oh, and if it's just maven stuff, see us over on the maven mailing lists...

dIon Gillard, Multitask Consulting

View raw message