You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2008/01/03 22:32:57 UTC

[jira] Closed: (SCM-321) bootstrap does duplicate checkout

     [ http://jira.codehaus.org/browse/SCM-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran closed SCM-321.
------------------------

         Assignee: Dan Tran
       Resolution: Fixed
    Fix Version/s: 1.x

fixed at rev 608636 by having boostrap mojo to skip its checkout and check for the result stored in checkout mojo

> bootstrap does duplicate checkout
> ---------------------------------
>
>                 Key: SCM-321
>                 URL: http://jira.codehaus.org/browse/SCM-321
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.x
>         Environment: All
>            Reporter: Wouter Hermeling
>            Assignee: Dan Tran
>             Fix For: 1.x
>
>         Attachments: BootstrapMojo.java, CheckoutMojo.java
>
>
> A duplicate checkout is performed when executing scm:bootstrap. I checked the sources of the plugin. In BoostrapMojo#execute() the following causes problem:
>         super.execute();
>         CheckOutScmResult result = checkout();
> The super.execute() will perform a checkout since the class inherits from CheckoutMojo. And the checkout() method will of course also perform a checkout.

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