Cannot override configuration parameter from command line
---------------------------------------------------------
Key: MNG-4979
URL: http://jira.codehaus.org/browse/MNG-4979
Project: Maven 2 & 3
Issue Type: Bug
Components: Plugins and Lifecycle
Affects Versions: 2.2.1
Reporter: Stefan Birkner
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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira