[ 
https://issues.apache.org/jira/browse/GERONIMO-4596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716153#action_12716153
 ] 

Jarek Gawor commented on GERONIMO-4596:
---------------------------------------

This looks like a problem in maven-surefilre-plugin. Properties set via -D 
option are propagated with maven-surefire-plugin version 2.4.2 but not with 
2.4.3. 


> can not take system properties into maven by command line in version 2.0.10 
> (does not appear in version 2.0.9)
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4596
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4596
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: geronimo-maven-plugin
>         Environment: maven test by command line
>            Reporter: Vu Hoang
>            Priority: Critical
>
> use command line below:
> mvn test -Dtest=[TestCaseName] -Dfile=/media/.../file.xml
> - maven system can understand -Dtest but can not with -Dfile
> - when I use function System.getProperty("file") - I got error 
> NullPointerException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to