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