You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Foegen (JIRA)" <ji...@codehaus.org> on 2013/09/17 16:06:52 UTC

[jira] (MRELEASE-594) release:prepare should stop when there is snapshots in dependencies management

     [ https://jira.codehaus.org/browse/MRELEASE-594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Foegen updated MRELEASE-594:
-----------------------------------

    Attachment: allowUnusedSnapshotsInDependencyManagement.patch

Hi,

please have a look at the patch I've attached. By default the behaviour of the plugin remains the same but it can be "enabled" by adding the following flag -DallowUnusedSnapshotsInDependencyManagement=false (the default is true).

If enabled, it treats snapshots in the dependency management section the same way as snapshots in the dependency section, i.e. snapshots can be resolved or the release fails. 
                
> release:prepare should stop when there is snapshots in dependencies management
> ------------------------------------------------------------------------------
>
>                 Key: MRELEASE-594
>                 URL: https://jira.codehaus.org/browse/MRELEASE-594
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: prepare
>            Reporter: Thomas Bruyelle
>            Assignee: Olivier Lamy
>             Fix For: Backlog
>
>         Attachments: allowUnusedSnapshotsInDependencyManagement.patch
>
>


--
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