[ 
https://jira.codehaus.org/browse/MSCMPUB-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Hobson updated MSCMPUB-2:
------------------------------

    Description: 
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 -- <long list of files>"
{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}

  was:
Running publish-scm with a large site can cause the command process to fail due 
to the command line being too long.  For example:

[INFO] --- maven-scm-publish-plugin:1.0-beta-1:publish-scm (scm-publish) @ X ---
...
[INFO] Executing: cmd.exe /X /C "git add -- <long list of files>"

Results in:

[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]

    
> 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 -- <long list of files>"
> {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

        

Reply via email to