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

bootstrap does duplicate checkout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.13.0
    • 1.1
    • maven-plugin
    • None
    • 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. CheckoutMojo.java
          4 kB
          Csaba Simon
        2. BootstrapMojo.java
          7 kB
          Csaba Simon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: