Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74C11D0CE for ; Wed, 10 Oct 2012 21:41:03 +0000 (UTC) Received: (qmail 53897 invoked by uid 500); 10 Oct 2012 21:41:03 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 53866 invoked by uid 500); 10 Oct 2012 21:41:03 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 53852 invoked by uid 99); 10 Oct 2012 21:41:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 21:41:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 21:40:57 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 31F4BB0643 for ; Wed, 10 Oct 2012 16:40:36 -0500 (CDT) Date: Wed, 10 Oct 2012 16:40:36 -0500 (CDT) From: "Olivier Lamy (JIRA)" To: issues@maven.apache.org Message-ID: <1354834605.10271.1349905236210.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> In-Reply-To: <329904558.9501.1349820097345.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> Subject: [jira] (MSCMPUB-2) publish-scm can fail with many files MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 [ https://jira.codehaus.org/browse/MSCMPUB-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311263#comment-311263 ] Olivier Lamy commented on MSCMPUB-2: ------------------------------------ more a scm issue. or loop on files and add them one by one in the plugin (if windauze is used :-) ) > publish-scm can fail with many files > ------------------------------------ > > Key: MSCMPUB-2 > URL: https://jira.codehaus.org/browse/MSCMPUB-2 > Project: maven-scm-publish-plugin > Issue Type: Bug > Environment: Cygwin, Windows > Reporter: Mark Hobson > > Running publish-scm with a large site can cause the command process to fail due to the command line being too long. For example: > {noformat} > [INFO] --- maven-scm-publish-plugin:1.0-beta-1:publish-scm (scm-publish) @ X --- > ... > [INFO] Executing: cmd.exe /X /C "git add -- " > {noformat} > Results in: > {noformat} > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-scm-publish-plugin:1.0-beta-1:publish-scm (scm-publish) on project X: Failed to add new files to SCM: Exception while executing SCM command. Error while executing command. Error while executing process. Cannot run program "cmd.exe" (in directory X): CreateProcess error=206, The filename or extension is too long -> [Help 1] > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira