A little strange to say, but, as Marshall pointed, it worked by just redoing
it after a few seconds (i just waited for the commits emails on
[email protected]).
Tommaso


2011/4/26 Tommaso Teofili <[email protected]>

> Thanks Marshall, I'll try it :-)
> Tommaso
>
>
> 2011/4/26 Marshall Schor <[email protected]>
>
>> Did you see this (googled the error message and maven release prepare):
>>
>> *Note:* If you're located in Europe then /release:prepare/ may fail with
>> 'Unable
>> to tag SCM' and ' svn: No such revision X
>> <http://www.apache.org/dev/version-control.html#out-of-sync> '. Wait 10
>> seconds
>> and run/mvn release:prepare/ again.
>>
>> From: http://www.apache.org/dev/publishing-maven-artifacts.html
>>
>> -Marshall
>>
>> On 4/26/2011 3:21 AM, Tommaso Teofili wrote:
>> > Turning on the debugging logs the output is more verbose but still I am
>> not
>> > sure why it's failing.
>> > Below you can find the relevant logging messages.
>> > I will ping maven-users@ list for some help.
>> > Regads
>> > Tommaso
>> >
>> > [DEBUG] Transmitting file data .................................
>> > [DEBUG] Committed revision 1096680.
>> > [INFO] Tagging release with the label uima-addons-2.3.1-rc1...
>> > [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
>> > [DEBUG] ScmTagPhase :: scmTagParameters scmRevision 1096680
>> > [DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true
>> > [INFO] Executing: /bin/sh -c cd
>> > /Users/tommasoteofili/Documents/workspaces/uima_workspace/uima/sandbox
>> &&
>> > svn --non-interactive copy --file
>> >
>> /var/folders/tY/tYQzbZNTHSavw8sYREQENk+++TI/-Tmp-/maven-scm-173418302.commit
>> > --revision 1096680 https://svn.apache.org/repos/asf/uima/sandbox/trunk
>> >
>> https://svn.apache.org/repos/asf/uima/sandbox/tags/uima-addons-2.3.1-rc1
>> > [INFO] Working directory:
>> > /Users/tommasoteofili/Documents/workspaces/uima_workspace/uima/sandbox
>> > [ERROR] Failed to execute goal
>> > org.apache.maven.plugins:maven-release-plugin:2.1:prepare (default-cli)
>> on
>> > project uima-addons: Unable to tag SCM
>> > [ERROR] Provider message:
>> > [ERROR] The svn tag command failed.
>> > [ERROR] Command output:
>> > [ERROR] svn: No such revision 1096680
>> > [ERROR] -> [Help 1]
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute
>> > goal org.apache.maven.plugins:maven-release-plugin:2.1:prepare
>> (default-cli)
>> > on project uima-addons: Unable to tag SCM
>> > Provider message:
>> > The svn tag command failed.
>> > Command output:
>> > svn: No such revision 1096680
>> >
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>> >  at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> >  at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> >  at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> >  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> >  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> >  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> > 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:592)
>> > at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>> >  at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>> > at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>> >  at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> > Caused by: org.apache.maven.plugin.MojoFailureException: Unable to tag
>> SCM
>> > Provider message:
>> > The svn tag command failed.
>> > Command output:
>> > svn: No such revision 1096680
>> >
>> > at
>> >
>> org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:287)
>> >  at
>> >
>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:237)
>> > at
>> >
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> >  at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> > ... 19 more
>> > Caused by:
>> org.apache.maven.shared.release.scm.ReleaseScmCommandException:
>> > Unable to tag SCM
>> > Provider message:
>> > The svn tag command failed.
>> > Command output:
>> > svn: No such revision 1096680
>> >
>> > at
>> >
>> org.apache.maven.shared.release.phase.ScmTagPhase.execute(ScmTagPhase.java:120)
>> > at
>> >
>> org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:203)
>> >  at
>> >
>> org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:140)
>> > at
>> >
>> org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:103)
>> >  at
>> >
>> org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:279)
>> > ... 22 more
>> > [ERROR]
>> > [ERROR]
>> > [ERROR] For more information about the errors and possible solutions,
>> please
>> > read the following articles:
>> > [ERROR] [Help 1]
>> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>> > [ERROR]
>> > [ERROR] After correcting the problems, you can resume the build with the
>> > command
>> > [ERROR]   mvn <goals> -rf :uima-addons
>> >
>> >
>> >
>> > 2011/4/24 Marshall Schor <[email protected]>
>> >
>> >> Did you run with -X to see if there's any useful info from maven about
>> >> this?
>> >>
>> >> -Marshall
>> >>
>> >> On 4/22/2011 7:09 AM, Tommaso Teofili wrote:
>> >>> Hi all,
>> >>> after some successful dryRuns I've tried 3 times the 'mvn
>> >> release:prepare'
>> >>> command but I got a :
>> >>>
>> >>> [ERROR] Failed to execute goal
>> >>> org.apache.maven.plugins:maven-release-plugin:2.1:prepare
>> (default-cli)
>> >> on
>> >>> project uima-addons: Unable to tag SCM
>> >>> [ERROR] Provider message:
>> >>> [ERROR] The svn tag command failed.
>> >>> [ERROR] Command output:
>> >>> [ERROR] svn: No such revision 1095683
>> >>>
>> >>> This happens when Maven tries to make a SVN copy to create the tag
>> (under
>> >>> sandbox/tags/uima-addons-2.3.1) .
>> >>> Can anyone suggest what the problem could be?
>> >>> Thanks,
>> >>> Tommaso
>> >>>
>>
>
>

Reply via email to