You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2016/10/03 23:13:20 UTC

[jira] [Commented] (SUREFIRE-1288) systemProperties should not be deprecated

    [ https://issues.apache.org/jira/browse/SUREFIRE-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15543710#comment-15543710 ] 

Tibor Digana commented on SUREFIRE-1288:
----------------------------------------

[~michaldo]
Surefire deprecated {{systemProperties}} because Maven deprecated using {{Properties}} in Mojo parameter.
Can you answer my preious question in Jira?

> systemProperties  should not be deprecated
> ------------------------------------------
>
>                 Key: SUREFIRE-1288
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1288
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.19.1
>            Reporter: Michal Domagala
>
> Current property precedence is: (higher number=more important)
> 1. systemProperties  
> 2. systemPropertiesFile
> 3. systemPropertyVariables
> systemPropertyVariables is not replacement for systemProperties  because meaning is different.
> For me systemProperties  are more useful, because I can define default values in pom.xml and optionally override them in runtime by configuration file.
> systemPropertyVariables  are not useful because can be overriden only by command line arguments. Commandline is not friendly if several properties must be modified



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)