[
https://issues.apache.org/jira/browse/SCM-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964484#comment-17964484
]
Olivier Lamy commented on SCM-321:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#540|https://github.com/apache/maven-scm/issues/540].
> 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)