Issue #83 resolved

Impossible to create svn tag

Anonymous created an issue

I tryed to creat a svn tag from TortoiseSVN and also with the maven-release-plugin on Windows.

I am hosting my private scm-manager on a glassfish instance proxied by Apache.

The debug output from maven looks like this: {{{

![INFO] Resuming release from phase 'scm-tag' [INFO] Tagging release with the label jUddfLib-3.0.0... [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true [DEBUG] ScmTagPhase :: scmTagParameters scmRevision null [DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true [INFO] Executing: cmd.exe /X /C "svn --non-interactive copy --file C:\Users\mohnid\AppData\Local\Temp\maven-scm-920027731.commit http://scm.mohni.info/svn/jUddfLib/trunk http://scm.mohni.info/svn/jUddfLib/tags/jUddfLib-3.0.0" [INFO] Working directory: D:\svn_mohni_info\jUddfLib [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.547s [INFO] Finished at: Wed Dec 28 13:18:56 CET 2011 [INFO] Final Memory: 4M/47M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project jUddfLib: Unable to tag SCM [ERROR] Provider message: [ERROR] The svn tag command failed. [ERROR] Command output: [ERROR] svn: REPORT of '/svn/jUddfLib/!svn/bc/0/trunk': Could not read status line: Line too long (http://scm.mohni.info) [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project jUddfLib: Unable to tag SCM Provider message: The svn tag command failed. Command output: svn: REPORT of '/svn/jUddfLib/!svn/bc/0/trunk': Could not read status line: Line too long (http://scm.mohni.info)

}}}

Comments (12)

  1. Anonymous

    try to show the code nicer, can't find a way to attach the console output

    [INFO] Resuming release from phase 'scm-tag'
    [INFO] Tagging release with the label jUddfLib-3.0.0...
    [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
    [DEBUG] ScmTagPhase :: scmTagParameters scmRevision null
    [DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true
    [INFO] Executing: cmd.exe /X /C "svn --non-interactive copy --file C:\Users\mohnid\AppData\Local\Temp\maven-scm-1363892049.commit http://scm.mohni.info/svn/jUddfLib/trunk http://scm.mohni.info/svn/jUddfLib/tags/jUddfLib-3.0.0"
    [INFO] Working directory: D:\svn_mohni_info\jUddfLib
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 5.628s
    [INFO] Finished at: Wed Dec 28 14:08:19 CET 2011
    [INFO] Final Memory: 4M/69M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project jUddfLib: Unable to tag SCM
    [ERROR] Provider message:
    [ERROR] The svn tag command failed.
    [ERROR] Command output:
    [ERROR] svn: REPORT of '/svn/jUddfLib/!svn/bc/0/trunk': Could not read status line: Line too long (http://scm.mohni.info)
    [ERROR] -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project jUddfLib: Unable to tag SCM
    Provider message:
    The svn tag command failed.
    Command output:
    svn: REPORT of '/svn/jUddfLib/!svn/bc/0/trunk': Could not read status line: Line too long (http://scm.mohni.info)
    
  2. Sebastian Sdorra repo owner
    • changed status to open

    Ok, i could reproduce the error. The error occurs only if scm-manager is deployed without context path. If you need a quick fix just add a context path, like /scm or something. I will try to fix the issue.

  3. Daniel Mohni

    I don't like context paths, thats why I use virtual servers on glassfish, the url get so much nicer :-) But I will try the quick fix anyway, thanks for figuring out the problem..

  4. Daniel Mohni

    I tested the release and everything worked now. But as I deleted the current repository and recreated the commit history from home (first time I used maven cli on osx).

    The scm-manager got stuck but after one more restart it recovered...

    After deleting the old repository and creating a new one I could not import the directory structure..

    I attach the scm-manager.log for reference

    From my point the issue is resolved.

  5. Log in to comment