[ 
http://jira.codehaus.org/browse/MRELEASE-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185540#action_185540
 ] 

Mark Struberg commented on MRELEASE-450:
----------------------------------------

Call it paranoia, but I prefer to have the tests run on the cleanly checked out 
sources again!

I saw too many test misses detected by release:prepare in the last few years to 
miss that feature.

Simply the fact that some IDEs will write things to target/classes, which are 
not available after a clean checkout or builds which only works because there 
are files not yet added (some SCMs don't show this in the status) or set to 
ignore and similar stuff imho justifies this feature.

Also keep in mind that you may run release:perform from a tag a _long_ time 
after you did run release:prepare and on a completely different computer. 

(More problematic is the fact that the tests will run 3 times if you 
additionally have site generation and cobertura reports enabled - but that's 
another story)

> release:perform shoult not call test:test as release:prepare already did
> ------------------------------------------------------------------------
>
>                 Key: MRELEASE-450
>                 URL: http://jira.codehaus.org/browse/MRELEASE-450
>             Project: Maven 2.x Release Plugin
>          Issue Type: Improvement
>          Components: perform
>    Affects Versions: 2.0-beta-9
>         Environment: linux
>            Reporter: Christian Hammers
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 2.0-beta-10
>
>
> Hello
> When doing a "mvn release:prepare" and then "mvn release:perform" the 
> complete test suite is run twice. As it takes a couple of minutes it feels 
> annoying. Also I don't really see the necessarity of running the test:test 
> goal in release:perform as release:prepare already does so and afterwards tag 
> the source code so that the perform cannot be made on a non-tested code, or?
> bye,
> -christian-

-- 
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

        

Reply via email to