You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "James Blewitt (JIRA)" <ji...@codehaus.org> on 2010/04/19 09:37:12 UTC
[jira] Created: (MRELEASE-548) release:prepare can't resolve
snapshot dependencies in batch mode
release:prepare can't resolve snapshot dependencies in batch mode
-----------------------------------------------------------------
Key: MRELEASE-548
URL: http://jira.codehaus.org/browse/MRELEASE-548
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: perform, prepare
Affects Versions: 2.0
Reporter: James Blewitt
When performing a release:prepare in interactive mode, various questions are asked at the command line, e.g. what the next development version should be and so on.
When performing a release:prepare in batch mode (using --batch-mode) these questions are not asked and default responses are used instead.
The problem with this is that for the question regarding the resolution of snapshot dependencies the default value is "no".
[INFO] Checking dependencies and plugins for snapshots ...
> There are still some remaining snapshot dependencies.: Do you want to resolve them now? (yes/no) no: :
release:perform in batch mode therefore doesn't ever resolve snapshot dependencies. This prevents batch mode from being useful to projects using snapshots.
I would like to request one of the following solutions:
- Snapshots ARE resolved by default in batch mode.
- There should be some way to explicitly state (using a command line parameter) whether or not snapshots are resolved in batch mode.
--
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