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