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

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

yes, tests should be executed before a release is done.
 
in my case i allready did it and knew that all tests are ok.
but i changed some scm:svn options, and wanted just test, what the release 
plugin will do with this options.
executing all tests again in such a situation does not really make sence.
in my case i need about 30 min to execute all the tests!

the other issue is:
tests are executed during prepare and perform phase, why?
i make sence for me to execute it only during the prepare phase.
that is why i turn them out during the perform phase

with best regards

Oleg Mayevskiy

> 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