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 2019/06/02 08:56:00 UTC

[jira] [Reopened] (MNG-4979) Cannot override configuration parameter from command line

     [ https://issues.apache.org/jira/browse/MNG-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Digana reopened MNG-4979:
-------------------------------

User setting should take precedens of POM setting.
We have seen this as serious problem for users.

> Cannot override configuration parameter from command line
> ---------------------------------------------------------
>
>                 Key: MNG-4979
>                 URL: https://issues.apache.org/jira/browse/MNG-4979
>             Project: Maven
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.2.1
>            Reporter: Stefan Birkner
>            Priority: Major
>
> See the attachements for a sample project of the surefire integration tests.
> Its pom sets the skipTests option of the surefire-plugin to false.
> <plugin>
>   ...
>   <configuration>
>     <skipTests>false</skipTests>
>   </configuration>
> </plugin>
> This configuration is not overriden by the appropriate command line parameter:
>  mvn -DskipTests=true test
> Executing this line will set the skipTests parameter of the Surefire plugin to false and the tests will not be skipped.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)