[
https://jira.codehaus.org/browse/MRELEASE-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MRELEASE-495.
-----------------------------------
Resolution: Duplicate
Assignee: Robert Scholte
Duplicate of MRELEASE-533, which has been fixed recently.
> Missing -f option in InvokerMavenExecutor
> -----------------------------------------
>
> Key: MRELEASE-495
> URL: https://jira.codehaus.org/browse/MRELEASE-495
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: perform
> Affects Versions: 2.0-beta-9
> Reporter: Beat Strasser
> Assignee: Robert Scholte
> Attachments: InvokerMavenExecutorTest.java,
> maven-release-manager.patch
>
>
> The RunPerformGoalsPhase adds "-f pom.xml" to the arguments but the
> InvokerMavenExecutor can't handle it.
> The perform goal currently doesn't throw an exception because the PosixParser
> from commons-cli-1.0 ignores unknown options - and the option isn't handled
> by the InvokerMavenExecutor at all. However, in commons-cli-1.2 (which
> doesn't ignore the -f option) the perform goal fails. The attached test case
> works only with commons-cli-1.0 but fails with commons-cli-1.2. Note that
> there is no test which tests the entire perform goal (including the
> InvokerMavenExecutor).
> The patch adds the file option to the executor.
> I'm using the maven-release-manager with commons-cli 1.2 because tycho
> depends on 1.2 (and I'm wrapping the maven-release-plugin for tycho).
--
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