You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2012/08/09 22:48:21 UTC

[jira] (MRELEASE-755) When passing arguments to underlying maven executions not all maven options are accepted

     [ https://jira.codehaus.org/browse/MRELEASE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte updated MRELEASE-755:
------------------------------------

    Summary: When passing arguments to underlying maven executions not all maven options are accepted  (was: When passing aruments to undelying maven executions not all maven options are accepted)
    
> 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
>
> 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