You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markus Heimhuber (JIRA)" <ji...@codehaus.org> on 2009/09/13 12:19:31 UTC

[jira] Created: (MRELEASE-482) Wrong URL for commiting to SVN

Wrong URL for commiting to SVN
------------------------------

                 Key: MRELEASE-482
                 URL: http://jira.codehaus.org/browse/MRELEASE-482
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: branch
    Affects Versions: 2.0-beta-9, 2.0-beta-8
         Environment: All
            Reporter: Markus Heimhuber
            Priority: Critical


Command:
---------------------------------------------------

{noformat}
set PROJECT_NAME=fytools
set RELEASE_VERSION=1.1
set NEXT_VERSION=1.2
set URL=http://svn.office.factority.de/factority
set URL_BRANCHES=%URL%/BRANCHES
set DRY=false

mvn -U --batch-mode release:branch -Dusername=%USERNAME% -Dpassword=%PASSWORD% \
-DtagBase=%URL_BRANCHES% -DautoVersionSubmodules=true -DupdateBranchVersions=true \
-DupdateWorkingCopyVersions=false -DbranchName=%PROJECT_NAME%-%RELEASE_VERSION%.1-SNAPSHOT \
-DdevelopmentVersion=%RELEASE_VERSION%.1-SNAPSHOT -DdryRun=%DRY%
{noformat}


Symptom:
---------------------------------------------------

The resulting POM contains the expected SVM link:
{noformat}
http://svn.office.factority.de/factority/BRANCHES/fytools-1.1.1-SNAPSHOT
{noformat}

The execution log contains the following:
{noformat}
[INFO] Executing: cmd.exe /X /C "svn --username msheimhu --password ***** --non-interactive copy 
--file C:\Users\XXXXX\AppData\Local\Temp\maven-scm-439769046.commit .
http://svn.office.factority.de/factority/fytools/branches/fytools-1.1.1-SNAPSHOT"
{noformat}

The execution log indicates, that Maven tries to commit to the following link:
{noformat}
http://svn.office.factority.de/factority/fytools/branches/fytools-1.1.1-SNAPSHOT
{noformat}

This fails with the following error message:
{noformat}
[INFO] Working directory: C:\Users\msheimhu\workspace\fytools
org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to branch SCM
Provider message:
The svn branch command failed.
Command output:
svn: Commit failed (details follow):
svn: '/factority/fytools/branches' path not found
{noformat}


Expected behaviour:
---------------------------------------------------

The commit should use the URL from the POM, which is the correct one:
{noformat}
http://svn.office.factority.de/factority/BRANCHES/fytools-1.1.1-SNAPSHOT
{noformat}


-- 
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] (MRELEASE-482) Wrong URL for commiting to SVN

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MRELEASE-482.
-----------------------------------

    Resolution: Incomplete
      Assignee: Robert Scholte

No feedback from user, closing it.
                
> Wrong URL for commiting to SVN
> ------------------------------
>
>                 Key: MRELEASE-482
>                 URL: https://jira.codehaus.org/browse/MRELEASE-482
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: branch
>    Affects Versions: 2.0-beta-8, 2.0-beta-9
>         Environment: All
>            Reporter: Markus Heimhuber
>            Assignee: Robert Scholte
>            Priority: Critical
>
> Command:
> ---------------------------------------------------
> {noformat}
> set PROJECT_NAME=fytools
> set RELEASE_VERSION=1.1
> set NEXT_VERSION=1.2
> set URL=http://svn.office.factority.de/factority
> set URL_BRANCHES=%URL%/BRANCHES
> set DRY=false
> mvn -U --batch-mode release:branch -Dusername=%USERNAME% -Dpassword=%PASSWORD% \
> -DtagBase=%URL_BRANCHES% -DautoVersionSubmodules=true -DupdateBranchVersions=true \
> -DupdateWorkingCopyVersions=false -DbranchName=%PROJECT_NAME%-%RELEASE_VERSION%.1-SNAPSHOT \
> -DdevelopmentVersion=%RELEASE_VERSION%.1-SNAPSHOT -DdryRun=%DRY%
> {noformat}
> Symptom:
> ---------------------------------------------------
> The resulting POM contains the expected SVM link:
> {noformat}
> http://svn.office.factority.de/factority/BRANCHES/fytools-1.1.1-SNAPSHOT
> {noformat}
> The execution log contains the following:
> {noformat}
> [INFO] Executing: cmd.exe /X /C "svn --username msheimhu --password ***** --non-interactive copy 
> --file C:\Users\XXXXX\AppData\Local\Temp\maven-scm-439769046.commit .
> http://svn.office.factority.de/factority/fytools/branches/fytools-1.1.1-SNAPSHOT"
> {noformat}
> The execution log indicates, that Maven tries to commit to the following link:
> {noformat}
> http://svn.office.factority.de/factority/fytools/branches/fytools-1.1.1-SNAPSHOT
> {noformat}
> This fails with the following error message:
> {noformat}
> [INFO] Working directory: C:\Users\msheimhu\workspace\fytools
> org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to branch SCM
> Provider message:
> The svn branch command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: '/factority/fytools/branches' path not found
> {noformat}
> Expected behaviour:
> ---------------------------------------------------
> The commit should use the URL from the POM, which is the correct one:
> {noformat}
> http://svn.office.factority.de/factority/BRANCHES/fytools-1.1.1-SNAPSHOT
> {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

        

[jira] Commented: (MRELEASE-482) Wrong URL for commiting to SVN

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=271347#comment-271347 ] 

Brett Porter commented on MRELEASE-482:
---------------------------------------

in 2.0 there is now branchBase - does it work if you use that?

> Wrong URL for commiting to SVN
> ------------------------------
>
>                 Key: MRELEASE-482
>                 URL: https://jira.codehaus.org/browse/MRELEASE-482
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: branch
>    Affects Versions: 2.0-beta-8, 2.0-beta-9
>         Environment: All
>            Reporter: Markus Heimhuber
>            Priority: Critical
>
> Command:
> ---------------------------------------------------
> {noformat}
> set PROJECT_NAME=fytools
> set RELEASE_VERSION=1.1
> set NEXT_VERSION=1.2
> set URL=http://svn.office.factority.de/factority
> set URL_BRANCHES=%URL%/BRANCHES
> set DRY=false
> mvn -U --batch-mode release:branch -Dusername=%USERNAME% -Dpassword=%PASSWORD% \
> -DtagBase=%URL_BRANCHES% -DautoVersionSubmodules=true -DupdateBranchVersions=true \
> -DupdateWorkingCopyVersions=false -DbranchName=%PROJECT_NAME%-%RELEASE_VERSION%.1-SNAPSHOT \
> -DdevelopmentVersion=%RELEASE_VERSION%.1-SNAPSHOT -DdryRun=%DRY%
> {noformat}
> Symptom:
> ---------------------------------------------------
> The resulting POM contains the expected SVM link:
> {noformat}
> http://svn.office.factority.de/factority/BRANCHES/fytools-1.1.1-SNAPSHOT
> {noformat}
> The execution log contains the following:
> {noformat}
> [INFO] Executing: cmd.exe /X /C "svn --username msheimhu --password ***** --non-interactive copy 
> --file C:\Users\XXXXX\AppData\Local\Temp\maven-scm-439769046.commit .
> http://svn.office.factority.de/factority/fytools/branches/fytools-1.1.1-SNAPSHOT"
> {noformat}
> The execution log indicates, that Maven tries to commit to the following link:
> {noformat}
> http://svn.office.factority.de/factority/fytools/branches/fytools-1.1.1-SNAPSHOT
> {noformat}
> This fails with the following error message:
> {noformat}
> [INFO] Working directory: C:\Users\msheimhu\workspace\fytools
> org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to branch SCM
> Provider message:
> The svn branch command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: '/factority/fytools/branches' path not found
> {noformat}
> Expected behaviour:
> ---------------------------------------------------
> The commit should use the URL from the POM, which is the correct one:
> {noformat}
> http://svn.office.factority.de/factority/BRANCHES/fytools-1.1.1-SNAPSHOT
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira