[
http://jira.codehaus.org/browse/MRELEASE-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=176927#action_176927
]
Boris Maras commented on MRELEASE-433:
--------------------------------------
I also have the same problem when doing a release:branch. It fails with the
following error :
[INFO] Executing: svn --username xxx --password ***** --non-interactive copy
--file c:\DOCUME~1\XXX\LOCALS~1\Temp\mavenscm-306400304.commit .
http://xxx/svn/TST/branches/yyy
[INFO] Working directory: d:\zzz
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: File '/svn/TST/branches/xxx/database/pom.xml' already exists
I'm using version 1.6.2 of the svn client on Windows. It worked this version
1.4.5.
A workaround is to :
- do a release:prepare : it fails
- do a svn update
- do a release:prepare once again : it works
> Add parameter remoteTagging to release:branch (to prevent issue with svn >
> 1.5.0)
> ---------------------------------------------------------------------------------
>
> Key: MRELEASE-433
> URL: http://jira.codehaus.org/browse/MRELEASE-433
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: branch
> Affects Versions: 2.0-beta-9
> Environment: svn version > 1.5.0
> Reporter: Pablo
>
> I have the same problem than [http://jira.codehaus.org/browse/MRELEASE-427]
> when executing mvn release:branch.
> It would be useful for me to add the -DremoteTagging argument also when
> making branches.
> Thank you.
--
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