Description
The command
+ /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
Produces the following error:
[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]
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.
Attachments
Issue Links
- is duplicated by
-
MRELEASE-629 -gs is not passed to forked execution of release:prepare
- Closed
- is related to
-
MRELEASE-786 -Darguments doesn't allow -T to be passed to forked builds for multi threading
- Closed
-
MRELEASE-892 -Darguments doesn't allow -B to be passed to underlying maven executions
- Closed
- relates to
-
MRELEASE-827 Passing "-pl" via arguments is not accepted
- Closed