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

Reply via email to