[ 
https://issues.apache.org/jira/browse/SCM-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961001#comment-17961001
 ] 

ASF GitHub Bot commented on SCM-321:
------------------------------------

jira-importer opened a new issue, #540:
URL: https://github.com/apache/maven-scm/issues/540

   **[Wouter 
Hermeling](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=whermeling)**
 opened 
**[SCM-321](https://issues.apache.org/jira/browse/SCM-321?redirect=false)** and 
commented
   
   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.
   
   
   ---
   
   **Affects:** 1.13.0
   
   **Attachments:**
   - 
[BootstrapMojo.java](https://issues.apache.org/jira/secure/attachment/12718544/BootstrapMojo.java)
 (_7.29 kB_)
   - 
[CheckoutMojo.java](https://issues.apache.org/jira/secure/attachment/12718742/CheckoutMojo.java)
 (_4.29 kB_)
   
   1 votes, 1 watchers
   




> bootstrap does duplicate checkout
> ---------------------------------
>
>                 Key: SCM-321
>                 URL: https://issues.apache.org/jira/browse/SCM-321
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.13.0
>         Environment: All
>            Reporter: Wouter Hermeling
>            Assignee: Dan Tran
>            Priority: Major
>             Fix For: 1.1
>
>         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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to