Hi,

Thank you for fast feedback!

2008/11/4 Arnaud HERITIER <[EMAIL PROTECTED]>

> Hi Peter,
>
>   which version of the release plugin are you using? We just released a new
> version, perhaps there's an issue in it ?


I use 2.0-beta-8 version of the plugin.
Which version do you release?


>
>   If you didn't change your version of the plugin it's probably an issue in
> svn because you are reproducing the issue with the svn command line.
>   There are several problems to create tags with svn 1.5.x. I thought it
> was fixed, but I'm not sure. There was several threads about this on this
> mailing list.
>
> cheers
>
> Arnaud
>
>
> On Tue, Nov 4, 2008 at 1:59 PM, Peter Nedonosko <
> [EMAIL PROTECTED]> wrote:
>
>> Hi guys!
>>
>> I try to use maven-release-plugin on WindowsXP SP2 with maven 2.0.8, Java
>> 1.5.0_15 and svn 1.5.4.
>>
>> I cannot run release:branch goal from trunk successful.
>> Branch commit failed on command
>>   svn --non-interactive copy --file D:\Tmp\maven-scm-1276451448.commit .
>>
>> http://svn.exoplatform.org/svnroot/exoplatform/projects/kernel-new/branches/2.0.4-RC
>>
>> I have tried this command manually
>>  svn copy .
>>
>> http://svn.exoplatform.org/svnroot/exoplatform/projects/kernel-new/branches/2.0.4-RC
>> it fails too.
>>
>> But if I replace '.' on full path of the trunk it will works
>>  svn copy
>> http://svn.exoplatform.org/svnroot/exoplatform/projects/kernel-new/trunk
>>
>> http://svn.exoplatform.org/svnroot/exoplatform/projects/kernel-new/branches/2.0.4-RC
>>
>> I feel it's a bug, but may be I do smth wrong here?
>> Anybody can help or comment the usecase?
>>
>>
>> Full error message
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building eXo Kernel
>> [INFO]    task-segment: [release:branch] (aggregator-style)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [release:branch]
>> [INFO] Verifying that there are no local modifications...
>> [INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
>> [INFO] Working directory:
>> D:\Projects\eXo\dev\projects\projects-lab\kernel-new\trunk
>> What is the new working copy version for "eXo Kernel"?
>> (org.exoplatform.kernel:config) 2.0.5-SNAPSHOT: :
>> [INFO] Transforming 'eXo Kernel'...
>> [INFO] Transforming 'eXo Kernel Commons'...
>> [INFO] Transforming 'eXo Container'...
>> [INFO] Updating exo.kernel.commons to 2.0.4-SNAPSHOT
>> [INFO] Transforming 'Common service'...
>> [INFO] Updating exo.kernel.container to 2.0.4-SNAPSHOT
>> [INFO] Transforming 'Remote service implementation'...
>> [INFO] Updating exo.kernel.component.common to 2.0.4-SNAPSHOT
>> [INFO] Transforming 'Cache service api'...
>> [INFO] Updating exo.kernel.component.common to 2.0.4-SNAPSHOT
>> [INFO] Updating exo.kernel.component.remote to 2.0.4-SNAPSHOT
>> [INFO] Updating exo.kernel.container to 2.0.4-SNAPSHOT
>> [INFO] Transforming 'Command service impl'...
>> [INFO] Updating exo.kernel.component.common to 2.0.4-SNAPSHOT
>> [INFO] Checking in modified POMs...
>> [INFO] Executing: cmd.exe /X /C "svn --non-interactive commit --file
>> D:\Tmp\maven-scm-142291247.commit --targets
>> D:\Tmp\maven-scm-61108-targets"
>> [INFO] Working directory:
>> D:\Projects\eXo\dev\projects\projects-lab\kernel-new\trunk
>> [INFO] Branching release with the label 2.0.4-RC...
>> [INFO] Executing: cmd.exe /X /C "svn --non-interactive copy --file
>> D:\Tmp\maven-scm-1276451448.commit .
>> http://svn.exoplatform.org/svnroot/exoplatform/projects/
>> kernel-new/branches/2.0.4-RC<http://svn.exoplatform.org/svnroot/exoplatform/projects/kernel-new/branches/2.0.4-RC>
>> "
>> [INFO] Working directory:
>> D:\Projects\eXo\dev\projects\projects-lab\kernel-new\trunk
>> 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
>>
>> '/svnroot/exoplatform/projects/kernel-new/branches/2.0.4-RC/commons/pom.xml'
>> already exists
>>
>>        at
>>
>> org.apache.maven.shared.release.phase.ScmBranchPhase.execute(ScmBranchPhase.java:98)
>>        at
>>
>> org.apache.maven.shared.release.DefaultReleaseManager.branch(DefaultReleaseManager.java:379)
>>        at
>>
>> org.apache.maven.shared.release.DefaultReleaseManager.branch(DefaultReleaseManager.java:350)
>>        at
>>
>> org.apache.maven.plugins.release.BranchReleaseMojo.execute(BranchReleaseMojo.java:133)
>>        at
>>
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
>>        at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>>        at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
>>        at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
>>        at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>>        at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224)
>>        at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>        at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Unable to branch SCM
>> Provider message:
>> The svn branch command failed.
>> Command output:
>> svn: Commit failed (details follow):
>> svn: File
>>
>> '/svnroot/exoplatform/projects/kernel-new/branches/2.0.4-RC/commons/pom.xml'
>> already exists
>>
>>
>>
>> Thanks you,
>>
>> Peter Nedonosko,
>> eXo Platform SAS
>>
>
>
>
> --
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>

Reply via email to