Multiple -Dkey=value command line options not handled correctly
---------------------------------------------------------------
Key: MNG-3356
URL: http://jira.codehaus.org/browse/MNG-3356
Project: Maven 2
Issue Type: Bug
Components: Command Line
Affects Versions: 2.0.8
Reporter: Christian Koelle
Priority: Critical
After upgrading to 2.0.8 on Debian the handling of multiple (more than one)
-Dkey=value cli options fail, i.e. something like:
mvn plugin:goal -Dkey1=value1 -Dkey2=value2
fails with:
Invalid task 'key2=value2': you must specify a valid lifecycle phase, or a goal
in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
--
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