maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian E. Fox" <bri...@reply.infinity.nu>
Subject Re: Passing in system properties not working in maven 2.0.7 (PLEASE HELP!)
Date Thu, 12 Jun 2008 21:19:46 GMT
Have you tried 2.0.9? Was this working before with 2.0.6? Are you sure your
surefire plugin version hasn't changed?


On 6/12/08 4:53 PM, "Todd Nguyen" <gumiyo@gmail.com> wrote:

> mvn version: 2.0.7
> 
> I ran this at the command line, mvn clean test -Dtest=PropertiesTest
> -Dinput=com.mycompany.test
> 
> In my PropertiesTest, i have this code snippet.
> 
> ...
>  if (System.getProperties().containsKey("input")) {
>              String name = System.getProperty("input");
> }
> 
> System.getProperty("input") always return NULL.
> 
> What happened and how do we fix it?
> 
> Thanks
> Todd


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


Mime
View raw message