maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Theussl <ltheu...@apache.org>
Subject Re: Anyone know how to auto-include this option when I'm running tests?
Date Thu, 05 Nov 2009 08:57:59 GMT

Just put it into a .properties file, see

http://maven.apache.org/maven-1.x/reference/properties.html

HTH,
-Lukas


laredotornado wrote:
> Hi,
> 
> I'm using Maven 1.1 for a Java (1.5) project on Mac 10.5.6. I have a number
> of unit tests within a sub-folder of my "test" directory. In order to run
> everything smoothly, I must run a command like below when I cd into my test
> directory:
> 
> maven -Dhttp.nonProxyHosts=localhost test:test
> 
> My question is, do you know a file or somewhere I can place the
> "-Dhttp.nonProxyHosts=localhost" option so I can just run "maven test:test"?
> When I pass this project on to another developer, I don't want to have to
> explicitly tell them to include this option.
> 
> Thanks, - Dave 
> 

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


Mime
View raw message