You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rolan Sanchez (JIRA)" <ji...@codehaus.org> on 2009/11/23 23:53:55 UTC

[jira] Created: (SCM-511) Build error when publishing a new version of the site through the command line. Error: Embedded error: Unable to commit file. The svn command failed. svn: URL '----------' doesn't exist

Build error when publishing a new version of the site through the command line.  Error: Embedded error: Unable to commit file. The svn command failed. svn: URL '----------' doesn't exist
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: SCM-511
                 URL: http://jira.codehaus.org/browse/SCM-511
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-site
         Environment: Command line, Java
            Reporter: Rolan Sanchez
            Priority: Minor


In declaring interdependencies by referencing project properties e.g.,
reports/${project.groupId}/${project.artifactId}/${project.version}

if a newer version of the site is created and then if try to publish it to SVN, Maven cannot create the parent directory.

Since the parent directory does not exist in SVN, Maven does not automatically create and publish site to SVN and an error is thrown:

" Embedded error: Unable to commit file. The svn command failed. svn: URL 'https://......../svn/....../trunk/www/......../com.............ears/..................../1.0.2-SNAPSHOT/.............' doesn't exist".

Maven expects at least parent directory to be created manually in order to publish the site before the build.

Instead the Directory creation for the newer version should be automatic.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SCM-511) Build error when publishing a new version of the site through the command line. Error: Embedded error: Unable to commit file. The svn command failed. svn: URL '----------' doesn't exist

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206173#action_206173 ] 

Maria Odea Ching commented on SCM-511:
--------------------------------------

Attached patch in WAGON-297 to fix this problem (if not using Subversion 1.5+ which is related to SCM-487).

> Build error when publishing a new version of the site through the command line.  Error: Embedded error: Unable to commit file. The svn command failed. svn: URL '----------' doesn't exist
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SCM-511
>                 URL: http://jira.codehaus.org/browse/SCM-511
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-site
>         Environment: Command line, Java
>            Reporter: Rolan Sanchez
>            Priority: Minor
>
> In declaring interdependencies by referencing project properties e.g.,
> reports/${project.groupId}/${project.artifactId}/${project.version}
> if a newer version of the site is created and then if try to publish it to SVN, Maven cannot create the parent directory.
> Since the parent directory does not exist in SVN, Maven does not automatically create and publish site to SVN and an error is thrown:
> " Embedded error: Unable to commit file. The svn command failed. svn: URL 'https://......../svn/....../trunk/www/......../com.............ears/..................../1.0.2-SNAPSHOT/.............' doesn't exist".
> Maven expects at least parent directory to be created manually in order to publish the site before the build.
> Instead the Directory creation for the newer version should be automatic.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SCM-511) Build error when publishing a new version of the site through the command line. Error: Embedded error: Unable to commit file. The svn command failed. svn: URL '----------' doesn't exist

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205346#action_205346 ] 

Maria Odea Ching commented on SCM-511:
--------------------------------------

This error occurs in versions 1.1 and lower of maven-scm-manager-plexus and maven-scm-provider-svnexe. A different error related to plexus-utils occurs instead for version 1.2 and 1.3-SNAPSHOT.

> Build error when publishing a new version of the site through the command line.  Error: Embedded error: Unable to commit file. The svn command failed. svn: URL '----------' doesn't exist
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SCM-511
>                 URL: http://jira.codehaus.org/browse/SCM-511
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-site
>         Environment: Command line, Java
>            Reporter: Rolan Sanchez
>            Priority: Minor
>
> In declaring interdependencies by referencing project properties e.g.,
> reports/${project.groupId}/${project.artifactId}/${project.version}
> if a newer version of the site is created and then if try to publish it to SVN, Maven cannot create the parent directory.
> Since the parent directory does not exist in SVN, Maven does not automatically create and publish site to SVN and an error is thrown:
> " Embedded error: Unable to commit file. The svn command failed. svn: URL 'https://......../svn/....../trunk/www/......../com.............ears/..................../1.0.2-SNAPSHOT/.............' doesn't exist".
> Maven expects at least parent directory to be created manually in order to publish the site before the build.
> Instead the Directory creation for the newer version should be automatic.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira