[ http://jira.codehaus.org/browse/MRELEASE-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noel Keating updated MRELEASE-317: ---------------------------------- Attachment: MRELEASE-317.patch.txt This patch adds code to check the resolvedSnapshotDependencies in AbstractRewritePomsPhase.rewriteParent(...), (plus a test case) > 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