Uploaded image for project: 'Maven SCM Publish Plugin'
  1. Maven SCM Publish Plugin
  2. MSCMPUB-14

add all directories in 1 command per default

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None

    Description

      actually, each directory added to SCM is done in one separate command, because it seems some SCM don't support adding subdirectories in one command. This leads to multiple info output:

      [INFO] Updating checkout directory with actual content in /home/herve/projets/maven/trunks/plugin-tools/target/checkout/target/staging
      [INFO] Content consists in 676 directories and 2364 files = 28 MB
      [INFO] Publishing content into SCM will result in 98 addition(s), 2266 update(s), 1 delete(s)
      [INFO] Executing: /bin/sh -c cd /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST && svn add --non-recursive --targets /tmp/maven-scm-8382463117886871820-targets
      [INFO] Working directory: /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST
      [INFO] Executing: /bin/sh -c cd /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST && svn add --non-recursive --targets /tmp/maven-scm-398783700389339299-targets
      [INFO] Working directory: /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST
      [INFO] Executing: /bin/sh -c cd /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST && svn add --non-recursive --targets /tmp/maven-scm-6004290418408757910-targets
      [INFO] Working directory: /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST
      [INFO] Executing: /bin/sh -c cd /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST && svn add --non-recursive --targets /tmp/maven-scm-4391791201102822476-targets
      [INFO] Working directory: /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST
      [INFO] Executing: /bin/sh -c cd /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST && svn add --non-recursive --targets /tmp/maven-scm-1572529325849664984-targets
      [INFO] Working directory: /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST
      [INFO] Executing: /bin/sh -c cd /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST && svn add --non-recursive --targets /tmp/maven-scm-8681504116928336260-targets
      [INFO] Working directory: /home/herve/maven-sites/plugin-tools-archives/plugin-tools-LATEST

      I tested, and it seems this is not necessary with svn

      so adding all directories in one unique command would remove a lot of useless output: a new option can be added to use existing algorithm when necessary

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            hboutemy Herve Boutemy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: