Read the stacktrace...
> svn: Commit failed (details follow):
> svn: File
> '/svn/java/common/tags/common-parent-1.0/common-support/src/main/java/org/ave7/common/service/AbstractService.java'
> already exists

Delete the tag in your SCM and try the mvn release again.

Wayne

On Mon, Sep 22, 2008 at 12:29 PM, Ryan Wong <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Here is the svn http://dev.ave7.net/svn/java/common/trunk
>
> My Issue is when command mvn releaser:prepare
> There always an error like:
>
> ------------------------------------------------------------------------
>
> [INFO] Executing: svn --username ryan --password ***** --non-interactive
> commit --file C:\DOCUME~1\Ryan\LOCALS~1\Temp\maven-scm-303817466.commit
> --targets C:\DOCUME~1\Ryan\LOCALS~1\Temp\maven-scm-25566-targets
> [INFO] Working directory: F:\dev\ave7devws\common
> [INFO] Tagging release with the label common-parent-1.0...
> [INFO] Executing: svn --username ryan --password ***** --non-interactive
> copy --file C:\DOCUME~1\Ryan\LOCALS~1\Temp\maven-scm-801681616.commit .
> http://dev.ave7.net/svn/java/common/tags/common-parent-1.0
> [INFO] Working directory: F:\dev\ave7devws\common
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: File
> '/svn/java/common/tags/common-parent-1.0/common-support/src/main/java/org/ave7/common/service/AbstractService.java'
> already exists
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: File
> '/svn/java/common/tags/common-parent-1.0/common-support/src/main/java/org/ave7/common/service/AbstractService.java'
> already exists
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
>        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:597)
>        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)
> Caused by: org.apache.maven.plugin.MojoFailureException: Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: File
> '/svn/java/common/tags/common-parent-1.0/common-support/src/main/java/org/ave7/common/service/AbstractService.java'
> already exists
>
>        at
> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:144)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>        ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 29 seconds
> [INFO] Finished at: Tue Sep 23 03:28:27 CST 2008
> [INFO] Final Memory: 7M/15M
> [INFO]
> ------------------------------------------------------------------------
>
>
> -----
> Blog: http://www.ryanwong.name
> Can Use: English, Chinese
> --
> View this message in context: 
> http://www.nabble.com/Help-Maven-Release-to-SVN-ERROR-tp19614856p19614856.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to