Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-321

bootstrap does duplicate checkout

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.x
    • Fix Version/s: 1.1
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      All

      Description

      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.

        Attachments

        1. BootstrapMojo.java
          7 kB
          Csaba Simon
        2. CheckoutMojo.java
          4 kB
          Csaba Simon

          Activity

            People

            • Assignee:
              danttran Dan Tran
              Reporter:
              whermeling Wouter Hermeling
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: