You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Peter Janes (JIRA)" <ji...@codehaus.org> on 2010/03/19 16:29:22 UTC

[jira] Commented: (MRELEASE-317) release:prepare should fail if any pom depends on SNAPSHOT parent

    [ http://jira.codehaus.org/browse/MRELEASE-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214507#action_214507 ] 

Peter Janes commented on MRELEASE-317:
--------------------------------------

The attached patch is still clean when applied to either the maven-release-2.0 tag or the trunk; I've also checked that it works when run in Maven 2.2.1.

> release:prepare should fail if any pom depends on SNAPSHOT parent
> -----------------------------------------------------------------
>
>                 Key: MRELEASE-317
>                 URL: http://jira.codehaus.org/browse/MRELEASE-317
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>         Environment: maven-2.0.8
> java-1.6
>            Reporter: Petr Kozelka
>            Priority: Critical
>         Attachments: MRELEASE-317.patch.txt
>
>
> Currently the release plugin happily releases a pom that declares a SNAPSHOT version of parent.
> Such a release is exposed to a danger of  irreproducibility:
> 1.) on another machine
> 2.) at another time (parent may significantly change in the meantime)
> While it can be sometimes convenient, it is, as I am quite sure, a bad behavior.

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