[ https://jira.codehaus.org/browse/MRELEASE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275339#comment-275339 ]
Oleg Mayevskiy edited comment on MRELEASE-700 at 8/9/11 5:10 AM: ----------------------------------------------------------------- :) maybe generally in case of scm, but not for svn. an unversioned file is also "a change" just tested and added a some_file.txt prepare fails now with error: Cannot prepare the release because you have local modifications : [some_file.txt:unknown] you must explicitly ignore it and commit to get it done was (Author: olem): :) maybe generally in case of scm, but not for svn. an unversioned file is also "a change" just tested and added a some_file.txt prepare fails now with error: Cannot prepare the release because you have local modifications : [some_file.txt:unknown] > release:prepare -Dmaven.test.skip=true should work > -------------------------------------------------- > > Key: MRELEASE-700 > URL: https://jira.codehaus.org/browse/MRELEASE-700 > Project: Maven 2.x Release Plugin > Issue Type: Wish > Components: prepare > Affects Versions: 2.1 > Environment: maven 3.0.3 > Reporter: Oleg Mayevskiy > Assignee: Mark Struberg > Priority: Minor > > currently if i want to skip tests during a prepare or perform phase, i must > do the following: > mvn release:prepare arguments='-Dmaven.test.skip=true'... > It would be more intuitive, if mvn -Dmaven.test.skip=true would work. > This is the default way, how tests are disabled in maven. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira