System properties set on the command line get clobbered
-------------------------------------------------------

         Key: MSUREFIRE-112
         URL: http://jira.codehaus.org/browse/MSUREFIRE-112
     Project: Maven 2.x Surefire Plugin
        Type: Bug

    Versions: 2.2    
 Environment: Linux, Maven 2.0.4, Sun JDK 1.5U5, bash 3.0
    Reporter: Brenton Leanhardt
    Priority: Minor
     Fix For: 2.1.3


Some system properties get clobbered if you set them on the command line. For 
example,

mvn clean test -Dtest=LoginTest -Dselenium.user=test32

The 'test' system property will work, but the 'selenium.user' property will be 
null at runtime.  I have tried:

* hard coding the system property in the unit test, this worked fine.
* setting the system properties in the pom file, this worked fine also.
* tried an older version of the surefire plugin, this worked fine.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to