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

Option to ignore checkout when checkoutDirectory exists

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.0-beta-4
    • maven-plugin
    • None
    • xp, starteam

    Description

      I have a need to pull mulitple legacy source trees from various scm:url into my local directory and invoke antrun to work on those trees.

      So I use multiple executions of maven-scm-plugin:checkout to fetch the source at initialize phase, then invoke antrun to do the rest.
      The annoy thing for every build is that scm:checkout remove my source tree and then fetch the source. This is the behavior we want
      for normal case. However for my case the checkout is a lengthy process.

      I would like to propose a new optiontion param skipCheckoutIfExists, with default to false to checkout mojo.

      WDYT? skipCheckoutIfExists name sound acceptable?

      Attachments

        Activity

          People

            danttran Dan Tran
            dantran Dan Tran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: