impossible to prepare after a dryRun ------------------------------------ Key: MRELEASE-246 URL: http://jira.codehaus.org/browse/MRELEASE-246 Project: Maven 2.x Release Plugin Issue Type: Bug Affects Versions: 2.0-beta-6 Environment: Win XP. Maven 2.0.6. Trying to release a pom artifact Reporter: Dominique Jean-Prost Priority: Minor
After having done a mvn release:prepare -DdryRun=true, it's impossible to do mvn release:prepare. --> mvn release:prepare -Dresume=false : c:\root\test-pom>mvn release:prepare -Dresume=false [INFO] Scanning for projects... [INFO] NOTE: Using release-pom: c:\root\test-pom\release-pom.xml in reactor build. [INFO] Searching repository for plugin with prefix: 'release'. [INFO] ---------------------------------------------------------------------------- [INFO] Building Fichier parent des descripteurs POM des composants [INFO] task-segment: [release:prepare] (aggregator-style) [INFO] ---------------------------------------------------------------------------- [INFO] [release:prepare] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] You don't have a SNAPSHOT project in the reactor projects list. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Mon Jun 11 09:40:41 CEST 2007 [INFO] Final Memory: 5M/9M [INFO] ------------------------------------------------------------------------ Must do a mvn release:clean before mvn release:prepare. I think we shouldn't have to. -- 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