[ https://jira.codehaus.org/browse/MRELEASE-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Connolly closed MRELEASE-315. ------------------------------------- Resolution: Fixed Should be able to use http://mojo.codehaus.org/versions-maven-plugin/use-releases-mojo.html in the preparationGoals or else just run versions:use-releases scm:commit (you need to commit to not have prepare complain about modified files, and you need a separate execution as maven does not re-read the pom during an execution) > Prepare goal - set default values > ----------------------------------- > > Key: MRELEASE-315 > URL: https://jira.codehaus.org/browse/MRELEASE-315 > Project: Maven 2.x Release Plugin > Issue Type: Improvement > Components: prepare > Affects Versions: 2.0-beta-8 > Reporter: Alessandro Zucchi > > Hi all, > I'm trying to simplify the release process of my project. > I run the following command: > call mvn -DpreparationGoals=clean,install -DautoVersionSubmodules=true > release:clean release:prepare > Since my project have dependences against other projects (SNAPSHOT > dependeces) I get the following question: > "There are still some remaining snapshot dependencies.: Do you want to > resolve them now? (yes/no) no:" > I have to answer yes to change the default and from this point over > accept all defaults prompted. > The question is: > can I change, in same way, the above default so I can use --batch-mode ??? > Consider that I can't change manuallly the dependences before to start the > release prepare process. > Best regards. > Alex -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira