[ 
https://jira.codehaus.org/browse/MRELEASE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275337#comment-275337
 ] 

Oleg Mayevskiy commented on MRELEASE-700:
-----------------------------------------

:-)
if there are some locally changes, release:prepare won't work, because it 
checks for modifications first.

so the error would be something like:
Cannot prepare the release because you have local modifications

you must explicitly ignore something, if you really don't won't to commit it.

but ok, it is generally more secure to execute all tests again in perform phase.

> 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

        

Reply via email to