[ 
https://jira.codehaus.org/browse/MRELEASE-594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=315683#comment-315683
 ] 

Darryl L. Miles commented on MRELEASE-594:
------------------------------------------

=> I cleary see it as a bug, that the release has been possible.

Without some kind of command line / property override you mean ?

Ideally the override for different things:

* SNAPSHOT parent/grand-parents [parent]
* SNAPSHOT plugins versions used [plugin]
* SNAPSHOT dependency versions used [dependency]
* SNAPSHOT the project(s) being the subject release itself [project]

I see all 4 are being separate matters but maybe sharing a single property 
override to allow release to happen.  With a string so an override might look 
like:

mvn release:foo 
-DallowSnapshotVersionInRelease=parent,plugin,dependency,project,all

The idea of not using an all or nothing (which is probe to human error) it to 
make the person think a little bit more as quite often I want to allow a plugin 
or dependency to be a SNAPSHOT but never my own projects and their parents.

Also all error/warning dialogs should indicate the nature of the SNAPSHOT i.e. 
what category from the above is it in and suggest the option to the use to 
retry the release with the property set.
                
> release:prepare should stop when there is snapshots in dependencies management
> ------------------------------------------------------------------------------
>
>                 Key: MRELEASE-594
>                 URL: https://jira.codehaus.org/browse/MRELEASE-594
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>            Reporter: Thomas Bruyelle
>            Assignee: Olivier Lamy
>             Fix For: Backlog
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to