[ https://jira.codehaus.org/browse/MRELEASE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MRELEASE-269. ----------------------------------- Resolution: Fixed Fixed as part of MRELEASE-511 Unit test added in [r1378347|http://svn.apache.org/viewvc?rev=1378347&view=rev] > Check that 'new development version' is a SNAPSHOT version > ----------------------------------------------------------- > > Key: MRELEASE-269 > URL: https://jira.codehaus.org/browse/MRELEASE-269 > Project: Maven 2.x Release Plugin > Issue Type: Wish > Components: prepare > Affects Versions: 2.0-beta-6 > Reporter: Michael Meyer > Assignee: Robert Scholte > Labels: contributers-welcome > Fix For: Backlog > > > While executing 'mvn release:prepare' one gets asked for the new development > version like this: > What is the new development version for "foo"? (com.bar:foo) 1.12-SNAPSHOT: > Say I want the new development version to be 2.0-SNAPSHOT (and not like > suggested 1.12-SNAPSHOT) but by accident I only enter 2.0. This will work > just fine until I want to execute 'mvn release:prepare' again at some later > point. Then I will get the error message that the current version is not a > SNAPSHOT version. > It would be really nice if release:prepare could check if I have entered a > valid SNAPSHOT version. If not release:prepare should fail or even nicer ask > me to enter a proper SNAPSHOT version. -- 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