Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.0 (2.2 plugin)
-
None
-
None
-
Linux, Maven 2.0.4, Sun JDK 1.5U5, bash 3.0
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
SUREFIRE-564 [surefire] Command line parms not passed to tests on linux
- Closed
- is related to
-
SUREFIRE-1385 System properties defined in the Surefire and Failsafe plugin configuration should override user properties
- Closed
-
SUREFIRE-491 All system properties from Maven process are copied to forked Surefire process
- Closed
- relates to
-
SUREFIRE-635 System properties are not reported in xml files
- Closed