Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0 (2.2 plugin)
-
Fix Version/s: 2.6
-
Component/s: None
-
Labels:None
-
Environment:Linux, Maven 2.0.4, Sun JDK 1.5U5, bash 3.0
-
Number of attachments :
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
Issue Links
| This issue is duplicated by: | ||||
| SUREFIRE-564 | [surefire] Command line parms not passed to tests on linux |
|
|
|
| This issue relates to: | ||||
| SUREFIRE-635 | System properties are not reported in xml files |
|
|
|
| This issue is related to: | ||||
| SUREFIRE-491 | All system properties from Maven process are copied to forked Surefire process |
|
|
|
Fixed in revision 598217.