maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] (MSCMPUB-14) add all directories in 1 command per default
Date Sat, 03 May 2014 21:10:10 GMT
Herve Boutemy created MSCMPUB-14:
------------------------------------

             Summary: add all directories in 1 command per default
                 Key: MSCMPUB-14
                 URL: https://jira.codehaus.org/browse/MSCMPUB-14
             Project: maven-scm-publish-plugin
          Issue Type: New Feature
    Affects Versions: 1.0
            Reporter: Herve Boutemy


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:
{noformat}[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{noformat}

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



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message