You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Csaba Simon (JIRA)" <ji...@codehaus.org> on 2007/07/06 13:49:13 UTC

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

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

Csaba Simon updated SCM-321:
----------------------------

    Attachment: CheckoutMojo.java
                BootstrapMojo.java

I've put some minor changes in the two affected mojos but I'm not an experienced java programmer, so these surely won't comply with any of the conventions, but it can provide a base for someone who can really fix the bug.

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