Ability to default "set to release" during release:prepare to "yes" instead of "no" -----------------------------------------------------------------------------------
Key: MRELEASE-463 URL: http://jira.codehaus.org/browse/MRELEASE-463 Project: Maven 2.x Release Plugin Issue Type: Improvement Components: prepare Affects Versions: 2.0-beta-9 Reporter: Dave Copeland Attachments: MRELEASE-default-snaps-PATCH.diff.gz We have SNAPSHOT dependencies in our poms during development. When we do a release, we use the plugin's feature of setting these versions to release before the release:prepare is done. This works great, however, it is not available in batch mode; the default answer is "no", and so, in batch mode, the release:prepare just fails. This makes scripting our releases impossible without resorting to some Expect nonsense. Included is a patch that adds the configuration option {{projectDependenciesDefaultToRelease}}. The value of this defaults to "false", which will cause {{release:prepare}} to behave as it does now. Setting it to "true" defaults the answer to "yes" and thus, allows the release to proceed in batch mode. I didn't see a lot of test coverage of this area of the code, but this patch doesn't break any tests. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira