Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
2.0-beta-9
-
None
-
None
-
Patch
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
MRELEASE-854 non-interactive "always yes" option
- Closed
- relates to
-
MRELEASE-835 Automatically resolve snapshot dependencies in release:prepare
- Closed