[
https://jira.codehaus.org/browse/MRELEASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MRELEASE-488.
-----------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> -Dgoals option no longer accepts a comma (in release:perform)
> -------------------------------------------------------------
>
> Key: MRELEASE-488
> URL: https://jira.codehaus.org/browse/MRELEASE-488
> Project: Maven Release Plugin
> Issue Type: Bug
> Components: perform
> Affects Versions: 2.0-beta-9
> Reporter: Chris LeCompte
>
> The -Dgoals option no longer accepts a comma separated list of goals. This
> appears to be related to the way that the InvokerMavenExecutor is parsing the
> string:
> String[] rawGoals = goals.split( " " );
> as opposed to the forked maven executor:
> String[] tokens = StringUtils.split( goals, ", " );
> a workaround for this is either to revert back to the beta-7 version, add the
> -DmavenExecutorId=forked-path or use spaces as a delimiter and quote the
> goals string. To reproduce use a command like:
> mvn release:perform -Dgoals=clean,install -DconnectionUrl=...
> the command will fail with an error such as:
> [INFO] [INFO] Invalid task 'clean,install': you must specify a valid
> lifecycle phase, or a goal in the format plugin:goal or
> pluginGroupId:pluginArtifactId:pluginVersion:goal
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)