[
https://jira.codehaus.org/browse/MRELEASE-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=331955#comment-331955
]
Endrigo Antonini commented on MRELEASE-548:
-------------------------------------------
Any update on this issue?
Is there any way that I can resolve my SNAPSHOT dependencies running the maven
in batch??
> release:prepare can't resolve snapshot dependencies in batch mode
> -----------------------------------------------------------------
>
> Key: MRELEASE-548
> URL: https://jira.codehaus.org/browse/MRELEASE-548
> Project: Maven 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, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira