Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-501

create the possibility for performing a local checkout instead a clean checkout from the upstream repository for DSCMs

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • perform
    • None

    Description

      For distributed SCMs like GIT, JGit, hg, etc we don't need to do a e.g. git-clone git://upstreamserver.com/location but should only do a localCheckout. This would be possible by simply cloning from file://${basedir} in the release:perform phase if -DlocalCheckout=true is used.

      This option will speed up the builds of large projects heavily since no network transfer is needed. Usually DSCMs also have the feature to only create hardlinks instead of copying all files in the repo. I know this works really well for GIT [1] but have to check this feature with JGit. In any case omitting the network transfer would be a huge blast on it's own.

      [1] http://www.kernel.org/pub/software/scm/git/docs/git-clone.html (--local)

      Attachments

        Issue Links

          Activity

            People

              struberg Mark Struberg
              struberg Mark Struberg
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: