[
https://issues.apache.org/jira/browse/SCM-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961002#comment-17961002
]
ASF GitHub Bot commented on SCM-321:
------------------------------------
jira-importer commented on issue #540:
URL: https://github.com/apache/maven-scm/issues/540#issuecomment-2964601692
**[Dan
Tran](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dantran)**
commented
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: 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)