maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Closed] (MRELEASE-548) release:prepare can't resolve snapshot dependencies in batch mode
Date Fri, 16 Mar 2018 22:40:17 GMT


Michael Osipov closed MRELEASE-548.
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If
you think this issue still applies, retest your problem with the most recent version of Maven
and the affected component, reopen and post your results.

> release:prepare can't resolve snapshot dependencies in batch mode
> -----------------------------------------------------------------
>                 Key: MRELEASE-548
>                 URL:
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: perform, prepare
>    Affects Versions: 2.0
>            Reporter: James Blewitt
>            Priority: Major
> 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 was sent by Atlassian JIRA

View raw message