[
https://jira.codehaus.org/browse/MRELEASE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MRELEASE-755.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.4
Assignee: Robert Scholte
Fixed in [r1403537|http://svn.apache.org/viewvc?rev=1403537&view=rev]
> When passing arguments to underlying maven executions not all maven options
> are accepted
> ----------------------------------------------------------------------------------------
>
> Key: MRELEASE-755
> URL: https://jira.codehaus.org/browse/MRELEASE-755
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.2.2
> Reporter: Sandy McPherson
> Assignee: Robert Scholte
> Fix For: 2.4
>
>
> The command
> {code}
> + /opt/imc/maven3/bin/mvn -B -PStaged-distribution --settings
> ../corrie/settings-build-release.xml -gs ../corrie/settings-global.xml
> '-Darguments=-PStaged-distribution -s ../corrie/settings-build-release.xml
> -gs ../corrie/settings-global.xml' release:prepare -DreleaseVersion=10.3765
> {code}
> Produces the following error:
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-release-plugin:2.2.2:prepare (default-cli) on
> project corrie: Failed to re-parse additional arguments for Maven invocation.
> Unrecognized option: -g -> [Help 1]
> [ERROR]
> {code}
> Also tried with --global-settings and this also failed with an anrecocgnized
> option --global-settings
> Would seem pointless for the plugin to do any additional parsing, just pass
> it to maven and let the underlying execution complain.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira