You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Raphaël Piéroni <ra...@gmail.com> on 2009/04/16 11:34:02 UTC

apache subversion lagging? Was: Releasing Maven Archetype Plugin

Hi folks,

Has anyone any idea on how to solve this issue?

Regards,

Raphaël

Le 15 avril 2009 20:07, Raphaël Piéroni <ra...@gmail.com> a écrit :

> Hi follks,
>
> I retried with SVN 1.6.0 But it still fails with a behaviour that seems to
> confirm that svn@apache is lagging
> I dunno what to do next.
>
> Raphaël
>
> [INFO] Checking in modified POMs...
> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/archetype &&
> svn --non-interactive commit --file /tmp/maven-scm-1276962846.commit
> --targets /tmp/maven-scm-36910-targets
> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
> [DEBUG] Sending        archetype-common/pom.xml
> [DEBUG] Sending        archetype-packaging/pom.xml
> [DEBUG] Sending        archetype-plugin/pom.xml
> [DEBUG] Sending        archetype-testing/archetype-proxy/pom.xml
> [DEBUG] Sending        archetype-testing/archetype-repository/pom.xml
> [DEBUG] Sending        archetype-testing/pom.xml
> [DEBUG] Sending        pom.xml
> [DEBUG] Transmitting file data .......
> [DEBUG] Committed revision 765287.
> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
> [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
> [DEBUG] ScmTagPhase :: scmTagParameters scmRevision 765287
> [DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true
> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/archetype &&
> svn --non-interactive copy --file /tmp/maven-scm-361989727.commit --revision
> 765287 https://svn.apache.org/repos/asf/maven/archetype/trunk
> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: No such revision 765287
>
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.BuildFailureException: Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: No such revision 765287
>
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>     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: No such revision 765287
>
>     at
> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
>     at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>     ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 10 seconds
> [INFO] Finished at: Wed Apr 15 20:03:25 CEST 2009
> [INFO] Final Memory: 20M/48M
> [INFO]
> ------------------------------------------------------------------------
> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn --version
> svn, version 1.6.0 (r36650)
>    compiled Mar 20 2009, 11:03:51
>
>
>
> Le 15 avril 2009 00:40, Raphaël Piéroni <ra...@gmail.com> a écrit
> :
>
> I got a strange behaviour :
>>  rollback the release, then i do :
>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn st
>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>> svn: No such revision 764991
>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>> At revision 764991.
>>
>> could it be a lag on the svn server at apache ?
>>
>> I give up for tonite, and will retry when i will have some time.
>> If any one is interrested in doing the release, feel free. i may have no
>> time untll next week. and at least will have no internet durn the last april
>> week. which could postpone until May.
>>
>>
>> Thanks tfor the help
>>
>> Regards,
>>
>> Raphaël
>>
>>
>> Le 15 avril 2009 00:35, Raphaël Piéroni <ra...@gmail.com> a
>> écrit :
>>
>> Still fails even with subversion 1.5.0
>>>
>>> [INFO] Checking in modified POMs...
>>> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/archetype
>>> && svn --non-interactive commit --file /tmp/maven-scm-966248461.commit
>>> --targets /tmp/maven-scm-20952-targets
>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
>>> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/archetype
>>> && svn --non-interactive copy --file /tmp/maven-scm-1835409830.commit
>>> --revision 764990 https://svn.apache.org/repos/asf/maven/archetype/trunk
>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Unable to tag SCM
>>> Provider message:
>>> The svn tag command failed.
>>> Command output:
>>> svn: No such revision 764990
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>> Provider message:
>>> The svn tag command failed.
>>> Command output:
>>> svn: No such revision 764990
>>>
>>>     at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
>>>     at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>     at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>>>     at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>     at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>     at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>     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: No such revision 764990
>>>
>>>     at
>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
>>>     at
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>     at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>>>     ... 16 more
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 3 minutes 28 seconds
>>> [INFO] Finished at: Wed Apr 15 00:33:12 CEST 2009
>>> [INFO] Final Memory: 21M/50M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn --version
>>> svn, version 1.5.0 (dev build)
>>>
>>>
>>> Le 15 avril 2009 00:30, Raphaël Piéroni <ra...@gmail.com> a
>>> écrit :
>>>
>>> Setting the plugin version in pluginmanagement didn't work
>>>>
>>>> I have a wrong version of svn it seems
>>>> svn --version
>>>> svn, version 1.5.6 (r36142)
>>>>
>>>>
>>>> I try downgrading to 1.5.0
>>>>
>>>> 2009/4/14 Olivier Lamy <ol...@apache.org>
>>>>
>>>> Or you update maven-release-plugin version to 2.0-beta-9 .
>>>>>
>>>>>
>>>>> 2009/4/14 Arnaud HERITIER <ah...@gmail.com>:
>>>>> > Or you have to use SVN 1.5.0 or 1.6.0 bianires. No 1.5.x.
>>>>> > Arnaud
>>>>> >
>>>>> > On Tue, Apr 14, 2009 at 11:33 PM, Brian Fox <br...@infinity.nu>
>>>>> wrote:
>>>>> >
>>>>> >> Raphaël Piéroni wrote:
>>>>> >>
>>>>> >>> Hi folks,
>>>>> >>>
>>>>> >>> I try to prepare the release of the next version of the archetype
>>>>> plugin,
>>>>> >>> but i fail.
>>>>> >>> The release plugin tell me it can't create the tag.
>>>>> >>>
>>>>> >>> I run mvn release:prepare -DdryRun=true without any problem,
>>>>> >>> but when i remove the dryRun, i got this exception :
>>>>> >>>
>>>>> >>> [INFO] Checking in modified POMs...
>>>>> >>> [INFO] Executing: /bin/sh -c cd
>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>> >>> &&
>>>>> >>> svn --non-interactive commit --file
>>>>> /tmp/maven-scm-1824375305.commit
>>>>> >>> --targets /tmp/maven-scm-15040-targets
>>>>> >>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>>> >>> [INFO] Tagging release with the label
>>>>> maven-archetype-2.0-alpha-5...
>>>>> >>> [INFO] Executing: /bin/sh -c cd
>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>> >>> &&
>>>>> >>> svn --non-interactive copy --file /tmp/maven-scm-1324398184.commit
>>>>> .
>>>>> >>>
>>>>> >>>
>>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>>>> >>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>>> >>> [INFO]
>>>>> >>>
>>>>> ------------------------------------------------------------------------
>>>>> >>> [ERROR] BUILD FAILURE
>>>>> >>> [INFO]
>>>>> >>>
>>>>> ------------------------------------------------------------------------
>>>>> >>> [INFO] Unable to tag SCM
>>>>> >>> Provider message:
>>>>> >>> The svn tag command failed.
>>>>> >>> Command output:
>>>>> >>> svn: The specified baseline is not the latest baseline, so it may
>>>>> not be
>>>>> >>> checked out.
>>>>> >>>
>>>>> >>> [INFO]
>>>>> >>>
>>>>> ------------------------------------------------------------------------
>>>>> >>> [INFO] Trace
>>>>> >>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>>> >>> Provider message:
>>>>> >>> The svn tag command failed.
>>>>> >>> Command output:
>>>>> >>> svn: The specified baseline is not the latest baseline, so it may
>>>>> not be
>>>>> >>> checked out.
>>>>> >>>
>>>>> >>>    at
>>>>> >>>
>>>>> >>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
>>>>> >>>    at
>>>>> >>>
>>>>> >>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>>> >>>    at
>>>>> >>>
>>>>> >>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>>>>> >>>    at
>>>>> >>>
>>>>> >>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>>> >>>    at
>>>>> >>>
>>>>> >>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>>> >>>    at
>>>>> >>>
>>>>> >>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>>> >>>    at
>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>> >>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>> >>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>> >>>    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: The specified baseline is not the latest baseline, so it may
>>>>> not be
>>>>> >>> checked out.
>>>>> >>>
>>>>> >>>    at
>>>>> >>>
>>>>> >>>
>>>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169)
>>>>> >>>    at
>>>>> >>>
>>>>> >>>
>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>>> >>>    at
>>>>> >>>
>>>>> >>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>>>>> >>>    ... 16 more
>>>>> >>>
>>>>> >>>
>>>>> >>> What have i done wrong ?
>>>>> >>>
>>>>> >>> Raphaël
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >> This looks like the classic svn 1.5+ "bug". Are you using the latest
>>>>> >> release plugin?
>>>>> >>
>>>>> >>
>>>>> ---------------------------------------------------------------------
>>>>> >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>> >> For additional commands, e-mail: dev-help@maven.apache.org
>>>>> >>
>>>>> >>
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Arnaud
>>>>> >
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>
>>>>>
>>>>
>>>
>>
>

Re: apache subversion lagging? Was: Releasing Maven Archetype Plugin

Posted by Brian Fox <br...@infinity.nu>.
I think there is some sync between the eu and us mirrors now. The mirror 
you use is geoip'd so I don't think you can control which one you get.

Brett Porter wrote:
> You might need to report it to the infrastructure team.
>
> However, since release:prepare picks up where it leaves off, if you 
> don't start over (keep release.properties) and run release:prepare 
> again, you should find that the tag is created successfully after a 
> period in between.
>
> - Brett
>
> On 16/04/2009, at 7:34 PM, Raphaël Piéroni wrote:
>
>> Hi folks,
>>
>> Has anyone any idea on how to solve this issue?
>>
>> Regards,
>>
>> Raphaël
>>
>> Le 15 avril 2009 20:07, Raphaël Piéroni <ra...@gmail.com> a 
>> écrit :
>>
>>> Hi follks,
>>>
>>> I retried with SVN 1.6.0 But it still fails with a behaviour that 
>>> seems to
>>> confirm that svn@apache is lagging
>>> I dunno what to do next.
>>>
>>> Raphaël
>>>
>>> [INFO] Checking in modified POMs...
>>> [INFO] Executing: /bin/sh -c cd 
>>> /Users/raphaelpieroni/Projects/archetype &&
>>> svn --non-interactive commit --file /tmp/maven-scm-1276962846.commit
>>> --targets /tmp/maven-scm-36910-targets
>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>> [DEBUG] Sending        archetype-common/pom.xml
>>> [DEBUG] Sending        archetype-packaging/pom.xml
>>> [DEBUG] Sending        archetype-plugin/pom.xml
>>> [DEBUG] Sending        archetype-testing/archetype-proxy/pom.xml
>>> [DEBUG] Sending        archetype-testing/archetype-repository/pom.xml
>>> [DEBUG] Sending        archetype-testing/pom.xml
>>> [DEBUG] Sending        pom.xml
>>> [DEBUG] Transmitting file data .......
>>> [DEBUG] Committed revision 765287.
>>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
>>> [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
>>> [DEBUG] ScmTagPhase :: scmTagParameters scmRevision 765287
>>> [DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true
>>> [INFO] Executing: /bin/sh -c cd 
>>> /Users/raphaelpieroni/Projects/archetype &&
>>> svn --non-interactive copy --file /tmp/maven-scm-361989727.commit 
>>> --revision
>>> 765287 https://svn.apache.org/repos/asf/maven/archetype/trunk
>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5 
>>>
>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>> [INFO]
>>> ------------------------------------------------------------------------ 
>>>
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------ 
>>>
>>> [INFO] Unable to tag SCM
>>> Provider message:
>>> The svn tag command failed.
>>> Command output:
>>> svn: No such revision 765287
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------ 
>>>
>>> [DEBUG] Trace
>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>> Provider message:
>>> The svn tag command failed.
>>> Command output:
>>> svn: No such revision 765287
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580) 
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513) 
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483) 
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) 
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228) 
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) 
>>>
>>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>    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: No such revision 765287
>>>
>>>    at
>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190) 
>>>
>>>    at
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453) 
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) 
>>>
>>>    ... 16 more
>>> [INFO]
>>> ------------------------------------------------------------------------ 
>>>
>>> [INFO] Total time: 4 minutes 10 seconds
>>> [INFO] Finished at: Wed Apr 15 20:03:25 CEST 2009
>>> [INFO] Final Memory: 20M/48M
>>> [INFO]
>>> ------------------------------------------------------------------------ 
>>>
>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn --version
>>> svn, version 1.6.0 (r36650)
>>>   compiled Mar 20 2009, 11:03:51
>>>
>>>
>>>
>>> Le 15 avril 2009 00:40, Raphaël Piéroni <ra...@gmail.com> a 
>>> écrit
>>> :
>>>
>>> I got a strange behaviour :
>>>> rollback the release, then i do :
>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn st
>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>>>> svn: No such revision 764991
>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>>>> At revision 764991.
>>>>
>>>> could it be a lag on the svn server at apache ?
>>>>
>>>> I give up for tonite, and will retry when i will have some time.
>>>> If any one is interrested in doing the release, feel free. i may 
>>>> have no
>>>> time untll next week. and at least will have no internet durn the 
>>>> last april
>>>> week. which could postpone until May.
>>>>
>>>>
>>>> Thanks tfor the help
>>>>
>>>> Regards,
>>>>
>>>> Raphaël
>>>>
>>>>
>>>> Le 15 avril 2009 00:35, Raphaël Piéroni <ra...@gmail.com> a
>>>> écrit :
>>>>
>>>> Still fails even with subversion 1.5.0
>>>>>
>>>>> [INFO] Checking in modified POMs...
>>>>> [INFO] Executing: /bin/sh -c cd 
>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>> && svn --non-interactive commit --file 
>>>>> /tmp/maven-scm-966248461.commit
>>>>> --targets /tmp/maven-scm-20952-targets
>>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
>>>>> [INFO] Executing: /bin/sh -c cd 
>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>> && svn --non-interactive copy --file /tmp/maven-scm-1835409830.commit
>>>>> --revision 764990 
>>>>> https://svn.apache.org/repos/asf/maven/archetype/trunk
>>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5 
>>>>>
>>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> [INFO] Unable to tag SCM
>>>>> Provider message:
>>>>> The svn tag command failed.
>>>>> Command output:
>>>>> svn: No such revision 764990
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> [INFO] Trace
>>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>>> Provider message:
>>>>> The svn tag command failed.
>>>>> Command output:
>>>>> svn: No such revision 764990
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580) 
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513) 
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483) 
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) 
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228) 
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) 
>>>>>
>>>>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>>    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: No such revision 764990
>>>>>
>>>>>    at
>>>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190) 
>>>>>
>>>>>    at
>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453) 
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) 
>>>>>
>>>>>    ... 16 more
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> [INFO] Total time: 3 minutes 28 seconds
>>>>> [INFO] Finished at: Wed Apr 15 00:33:12 CEST 2009
>>>>> [INFO] Final Memory: 21M/50M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn 
>>>>> --version
>>>>> svn, version 1.5.0 (dev build)
>>>>>
>>>>>
>>>>> Le 15 avril 2009 00:30, Raphaël Piéroni <ra...@gmail.com> a
>>>>> écrit :
>>>>>
>>>>> Setting the plugin version in pluginmanagement didn't work
>>>>>>
>>>>>> I have a wrong version of svn it seems
>>>>>> svn --version
>>>>>> svn, version 1.5.6 (r36142)
>>>>>>
>>>>>>
>>>>>> I try downgrading to 1.5.0
>>>>>>
>>>>>> 2009/4/14 Olivier Lamy <ol...@apache.org>
>>>>>>
>>>>>> Or you update maven-release-plugin version to 2.0-beta-9 .
>>>>>>>
>>>>>>>
>>>>>>> 2009/4/14 Arnaud HERITIER <ah...@gmail.com>:
>>>>>>>> Or you have to use SVN 1.5.0 or 1.6.0 bianires. No 1.5.x.
>>>>>>>> Arnaud
>>>>>>>>
>>>>>>>> On Tue, Apr 14, 2009 at 11:33 PM, Brian Fox <br...@infinity.nu>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Raphaël Piéroni wrote:
>>>>>>>>>
>>>>>>>>>> Hi folks,
>>>>>>>>>>
>>>>>>>>>> I try to prepare the release of the next version of the 
>>>>>>>>>> archetype
>>>>>>> plugin,
>>>>>>>>>> but i fail.
>>>>>>>>>> The release plugin tell me it can't create the tag.
>>>>>>>>>>
>>>>>>>>>> I run mvn release:prepare -DdryRun=true without any problem,
>>>>>>>>>> but when i remove the dryRun, i got this exception :
>>>>>>>>>>
>>>>>>>>>> [INFO] Checking in modified POMs...
>>>>>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>> &&
>>>>>>>>>> svn --non-interactive commit --file
>>>>>>> /tmp/maven-scm-1824375305.commit
>>>>>>>>>> --targets /tmp/maven-scm-15040-targets
>>>>>>>>>> [INFO] Working directory: 
>>>>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>> [INFO] Tagging release with the label
>>>>>>> maven-archetype-2.0-alpha-5...
>>>>>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>> &&
>>>>>>>>>> svn --non-interactive copy --file 
>>>>>>>>>> /tmp/maven-scm-1324398184.commit
>>>>>>> .
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5 
>>>>>>>
>>>>>>>>>> [INFO] Working directory: 
>>>>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>> [INFO]
>>>>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>>>> [ERROR] BUILD FAILURE
>>>>>>>>>> [INFO]
>>>>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>>>> [INFO] Unable to tag SCM
>>>>>>>>>> Provider message:
>>>>>>>>>> The svn tag command failed.
>>>>>>>>>> Command output:
>>>>>>>>>> svn: The specified baseline is not the latest baseline, so it 
>>>>>>>>>> may
>>>>>>> not be
>>>>>>>>>> checked out.
>>>>>>>>>>
>>>>>>>>>> [INFO]
>>>>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>>>> [INFO] Trace
>>>>>>>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>>>>>>>> Provider message:
>>>>>>>>>> The svn tag command failed.
>>>>>>>>>> Command output:
>>>>>>>>>> svn: The specified baseline is not the latest baseline, so it 
>>>>>>>>>> may
>>>>>>> not be
>>>>>>>>>> checked out.
>>>>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580) 
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513) 
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483) 
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) 
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228) 
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) 
>>>>>>>
>>>>>>>>>>   at
>>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>>>>>   at 
>>>>>>>>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>>>>>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>>>>>>>   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: The specified baseline is not the latest baseline, so it 
>>>>>>>>>> may
>>>>>>> not be
>>>>>>>>>> checked out.
>>>>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169) 
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453) 
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) 
>>>>>>>
>>>>>>>>>>   ... 16 more
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> What have i done wrong ?
>>>>>>>>>>
>>>>>>>>>> Raphaël
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> This looks like the classic svn 1.5+ "bug". Are you using the 
>>>>>>>>> latest
>>>>>>>>> release plugin?
>>>>>>>>>
>>>>>>>>>
>>>>>>> --------------------------------------------------------------------- 
>>>>>>>
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Arnaud
>>>>>>>>
>>>>>>>
>>>>>>> --------------------------------------------------------------------- 
>>>>>>>
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: apache subversion lagging? Was: Releasing Maven Archetype Plugin

Posted by Brian Fox <br...@infinity.nu>.
I didn't realize how horrible this was until i attempted to stage the 
apache pom. I emailed the infra team and i suggest others follow that 
thread as well. IMO the apache svn is now fundamentally broken.

Dennis Lundberg wrote:
> Brett Porter wrote:
>   
>> You might need to report it to the infrastructure team.
>>
>> However, since release:prepare picks up where it leaves off, if you
>> don't start over (keep release.properties) and run release:prepare
>> again, you should find that the tag is created successfully after a
>> period in between.
>>     
>
> Yes, that is correct.
>
> I have a bunch of stuff checked out from the eu svn mirror. When I do a
> release against that server, it usually fails the first time. Running
> the same command again (mvn release:prepare) will pick up and finish the
> job successfully.
>
>   
>> - Brett
>>
>> On 16/04/2009, at 7:34 PM, Raphaël Piéroni wrote:
>>
>>     
>>> Hi folks,
>>>
>>> Has anyone any idea on how to solve this issue?
>>>
>>> Regards,
>>>
>>> Raphaël
>>>
>>> Le 15 avril 2009 20:07, Raphaël Piéroni <ra...@gmail.com> a
>>> écrit :
>>>
>>>       
>>>> Hi follks,
>>>>
>>>> I retried with SVN 1.6.0 But it still fails with a behaviour that
>>>> seems to
>>>> confirm that svn@apache is lagging
>>>> I dunno what to do next.
>>>>
>>>> Raphaël
>>>>
>>>> [INFO] Checking in modified POMs...
>>>> [INFO] Executing: /bin/sh -c cd
>>>> /Users/raphaelpieroni/Projects/archetype &&
>>>> svn --non-interactive commit --file /tmp/maven-scm-1276962846.commit
>>>> --targets /tmp/maven-scm-36910-targets
>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>> [DEBUG] Sending        archetype-common/pom.xml
>>>> [DEBUG] Sending        archetype-packaging/pom.xml
>>>> [DEBUG] Sending        archetype-plugin/pom.xml
>>>> [DEBUG] Sending        archetype-testing/archetype-proxy/pom.xml
>>>> [DEBUG] Sending        archetype-testing/archetype-repository/pom.xml
>>>> [DEBUG] Sending        archetype-testing/pom.xml
>>>> [DEBUG] Sending        pom.xml
>>>> [DEBUG] Transmitting file data .......
>>>> [DEBUG] Committed revision 765287.
>>>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
>>>> [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
>>>> [DEBUG] ScmTagPhase :: scmTagParameters scmRevision 765287
>>>> [DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true
>>>> [INFO] Executing: /bin/sh -c cd
>>>> /Users/raphaelpieroni/Projects/archetype &&
>>>> svn --non-interactive copy --file /tmp/maven-scm-361989727.commit
>>>> --revision
>>>> 765287 https://svn.apache.org/repos/asf/maven/archetype/trunk
>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>>>
>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Unable to tag SCM
>>>> Provider message:
>>>> The svn tag command failed.
>>>> Command output:
>>>> svn: No such revision 765287
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [DEBUG] Trace
>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>> Provider message:
>>>> The svn tag command failed.
>>>> Command output:
>>>> svn: No such revision 765287
>>>>
>>>>    at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
>>>>
>>>>    at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>>
>>>>    at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>>>>
>>>>    at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>>
>>>>    at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>>
>>>>    at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>>
>>>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>    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: No such revision 765287
>>>>
>>>>    at
>>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
>>>>
>>>>    at
>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>>
>>>>    at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>>>>
>>>>    ... 16 more
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 4 minutes 10 seconds
>>>> [INFO] Finished at: Wed Apr 15 20:03:25 CEST 2009
>>>> [INFO] Final Memory: 20M/48M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn --version
>>>> svn, version 1.6.0 (r36650)
>>>>   compiled Mar 20 2009, 11:03:51
>>>>
>>>>
>>>>
>>>> Le 15 avril 2009 00:40, Raphaël Piéroni <ra...@gmail.com> a
>>>> écrit
>>>> :
>>>>
>>>> I got a strange behaviour :
>>>>         
>>>>> rollback the release, then i do :
>>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn st
>>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>>>>> svn: No such revision 764991
>>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>>>>> At revision 764991.
>>>>>
>>>>> could it be a lag on the svn server at apache ?
>>>>>
>>>>> I give up for tonite, and will retry when i will have some time.
>>>>> If any one is interrested in doing the release, feel free. i may
>>>>> have no
>>>>> time untll next week. and at least will have no internet durn the
>>>>> last april
>>>>> week. which could postpone until May.
>>>>>
>>>>>
>>>>> Thanks tfor the help
>>>>>
>>>>> Regards,
>>>>>
>>>>> Raphaël
>>>>>
>>>>>
>>>>> Le 15 avril 2009 00:35, Raphaël Piéroni <ra...@gmail.com> a
>>>>> écrit :
>>>>>
>>>>> Still fails even with subversion 1.5.0
>>>>>           
>>>>>> [INFO] Checking in modified POMs...
>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>> && svn --non-interactive commit --file /tmp/maven-scm-966248461.commit
>>>>>> --targets /tmp/maven-scm-20952-targets
>>>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>>>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>> && svn --non-interactive copy --file /tmp/maven-scm-1835409830.commit
>>>>>> --revision 764990
>>>>>> https://svn.apache.org/repos/asf/maven/archetype/trunk
>>>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>>>>>
>>>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> [ERROR] BUILD FAILURE
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> [INFO] Unable to tag SCM
>>>>>> Provider message:
>>>>>> The svn tag command failed.
>>>>>> Command output:
>>>>>> svn: No such revision 764990
>>>>>>
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> [INFO] Trace
>>>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>>>> Provider message:
>>>>>> The svn tag command failed.
>>>>>> Command output:
>>>>>> svn: No such revision 764990
>>>>>>
>>>>>>    at
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
>>>>>>
>>>>>>    at
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>>>>
>>>>>>    at
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>>>>>>
>>>>>>    at
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>>>>
>>>>>>    at
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>>>>
>>>>>>    at
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>>>>
>>>>>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>>>    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: No such revision 764990
>>>>>>
>>>>>>    at
>>>>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
>>>>>>
>>>>>>    at
>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>>>>
>>>>>>    at
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>>>>>>
>>>>>>    ... 16 more
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> [INFO] Total time: 3 minutes 28 seconds
>>>>>> [INFO] Finished at: Wed Apr 15 00:33:12 CEST 2009
>>>>>> [INFO] Final Memory: 21M/50M
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn --version
>>>>>> svn, version 1.5.0 (dev build)
>>>>>>
>>>>>>
>>>>>> Le 15 avril 2009 00:30, Raphaël Piéroni <ra...@gmail.com> a
>>>>>> écrit :
>>>>>>
>>>>>> Setting the plugin version in pluginmanagement didn't work
>>>>>>             
>>>>>>> I have a wrong version of svn it seems
>>>>>>> svn --version
>>>>>>> svn, version 1.5.6 (r36142)
>>>>>>>
>>>>>>>
>>>>>>> I try downgrading to 1.5.0
>>>>>>>
>>>>>>> 2009/4/14 Olivier Lamy <ol...@apache.org>
>>>>>>>
>>>>>>> Or you update maven-release-plugin version to 2.0-beta-9 .
>>>>>>>               
>>>>>>>> 2009/4/14 Arnaud HERITIER <ah...@gmail.com>:
>>>>>>>>                 
>>>>>>>>> Or you have to use SVN 1.5.0 or 1.6.0 bianires. No 1.5.x.
>>>>>>>>> Arnaud
>>>>>>>>>
>>>>>>>>> On Tue, Apr 14, 2009 at 11:33 PM, Brian Fox <br...@infinity.nu>
>>>>>>>>>                   
>>>>>>>> wrote:
>>>>>>>>                 
>>>>>>>>>> Raphaël Piéroni wrote:
>>>>>>>>>>
>>>>>>>>>>                     
>>>>>>>>>>> Hi folks,
>>>>>>>>>>>
>>>>>>>>>>> I try to prepare the release of the next version of the archetype
>>>>>>>>>>>                       
>>>>>>>> plugin,
>>>>>>>>                 
>>>>>>>>>>> but i fail.
>>>>>>>>>>> The release plugin tell me it can't create the tag.
>>>>>>>>>>>
>>>>>>>>>>> I run mvn release:prepare -DdryRun=true without any problem,
>>>>>>>>>>> but when i remove the dryRun, i got this exception :
>>>>>>>>>>>
>>>>>>>>>>> [INFO] Checking in modified POMs...
>>>>>>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>>>>>>>                       
>>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>                 
>>>>>>>>>>> &&
>>>>>>>>>>> svn --non-interactive commit --file
>>>>>>>>>>>                       
>>>>>>>> /tmp/maven-scm-1824375305.commit
>>>>>>>>                 
>>>>>>>>>>> --targets /tmp/maven-scm-15040-targets
>>>>>>>>>>> [INFO] Working directory:
>>>>>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>>> [INFO] Tagging release with the label
>>>>>>>>>>>                       
>>>>>>>> maven-archetype-2.0-alpha-5...
>>>>>>>>                 
>>>>>>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>>>>>>>                       
>>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>                 
>>>>>>>>>>> &&
>>>>>>>>>>> svn --non-interactive copy --file
>>>>>>>>>>> /tmp/maven-scm-1324398184.commit
>>>>>>>>>>>                       
>>>>>>>> .
>>>>>>>>                 
>>>>>>>>>>>                       
>>>>>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>> [INFO] Working directory:
>>>>>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>>> [INFO]
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>> [ERROR] BUILD FAILURE
>>>>>>>>>>> [INFO]
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>> [INFO] Unable to tag SCM
>>>>>>>>>>> Provider message:
>>>>>>>>>>> The svn tag command failed.
>>>>>>>>>>> Command output:
>>>>>>>>>>> svn: The specified baseline is not the latest baseline, so it may
>>>>>>>>>>>                       
>>>>>>>> not be
>>>>>>>>                 
>>>>>>>>>>> checked out.
>>>>>>>>>>>
>>>>>>>>>>> [INFO]
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>> [INFO] Trace
>>>>>>>>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>>>>>>>>> Provider message:
>>>>>>>>>>> The svn tag command failed.
>>>>>>>>>>> Command output:
>>>>>>>>>>> svn: The specified baseline is not the latest baseline, so it may
>>>>>>>>>>>                       
>>>>>>>> not be
>>>>>>>>                 
>>>>>>>>>>> checked out.
>>>>>>>>>>>
>>>>>>>>>>>   at
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>>   at
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>>   at
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>>   at
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>>   at
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>>   at
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>>   at
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>>>                 
>>>>>>>>>>>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>>>>>>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>>>>>>>>   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: The specified baseline is not the latest baseline, so it may
>>>>>>>>>>>                       
>>>>>>>> not be
>>>>>>>>                 
>>>>>>>>>>> checked out.
>>>>>>>>>>>
>>>>>>>>>>>   at
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169)
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>>   at
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>>   at
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>>>   ... 16 more
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> What have i done wrong ?
>>>>>>>>>>>
>>>>>>>>>>> Raphaël
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>>>> This looks like the classic svn 1.5+ "bug". Are you using the
>>>>>>>>>> latest
>>>>>>>>>> release plugin?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                     
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>>                 
>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                     
>>>>>>>>> -- 
>>>>>>>>> Arnaud
>>>>>>>>>
>>>>>>>>>                   
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>>     
>
>
>   

Re: apache subversion lagging? Was: Releasing Maven Archetype Plugin

Posted by Raphaël Piéroni <ra...@gmail.com>.
Thanks retrying the same command did the trick.
I ll finish the release process and call for a vote later.

Thanks.

Raphaël


2009/4/16 Dennis Lundberg <de...@apache.org>

> Brett Porter wrote:
> > You might need to report it to the infrastructure team.
> >
> > However, since release:prepare picks up where it leaves off, if you
> > don't start over (keep release.properties) and run release:prepare
> > again, you should find that the tag is created successfully after a
> > period in between.
>
> Yes, that is correct.
>
> I have a bunch of stuff checked out from the eu svn mirror. When I do a
> release against that server, it usually fails the first time. Running
> the same command again (mvn release:prepare) will pick up and finish the
> job successfully.
>
> >
> > - Brett
> >
> > On 16/04/2009, at 7:34 PM, Raphaël Piéroni wrote:
> >
> >> Hi folks,
> >>
> >> Has anyone any idea on how to solve this issue?
> >>
> >> Regards,
> >>
> >> Raphaël
> >>
> >> Le 15 avril 2009 20:07, Raphaël Piéroni <ra...@gmail.com> a
> >> écrit :
> >>
> >>> Hi follks,
> >>>
> >>> I retried with SVN 1.6.0 But it still fails with a behaviour that
> >>> seems to
> >>> confirm that svn@apache is lagging
> >>> I dunno what to do next.
> >>>
> >>> Raphaël
> >>>
> >>> [INFO] Checking in modified POMs...
> >>> [INFO] Executing: /bin/sh -c cd
> >>> /Users/raphaelpieroni/Projects/archetype &&
> >>> svn --non-interactive commit --file /tmp/maven-scm-1276962846.commit
> >>> --targets /tmp/maven-scm-36910-targets
> >>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
> >>> [DEBUG] Sending        archetype-common/pom.xml
> >>> [DEBUG] Sending        archetype-packaging/pom.xml
> >>> [DEBUG] Sending        archetype-plugin/pom.xml
> >>> [DEBUG] Sending        archetype-testing/archetype-proxy/pom.xml
> >>> [DEBUG] Sending        archetype-testing/archetype-repository/pom.xml
> >>> [DEBUG] Sending        archetype-testing/pom.xml
> >>> [DEBUG] Sending        pom.xml
> >>> [DEBUG] Transmitting file data .......
> >>> [DEBUG] Committed revision 765287.
> >>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
> >>> [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
> >>> [DEBUG] ScmTagPhase :: scmTagParameters scmRevision 765287
> >>> [DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true
> >>> [INFO] Executing: /bin/sh -c cd
> >>> /Users/raphaelpieroni/Projects/archetype &&
> >>> svn --non-interactive copy --file /tmp/maven-scm-361989727.commit
> >>> --revision
> >>> 765287 https://svn.apache.org/repos/asf/maven/archetype/trunk
> >>>
> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
> >>>
> >>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [ERROR] BUILD FAILURE
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Unable to tag SCM
> >>> Provider message:
> >>> The svn tag command failed.
> >>> Command output:
> >>> svn: No such revision 765287
> >>>
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [DEBUG] Trace
> >>> org.apache.maven.BuildFailureException: Unable to tag SCM
> >>> Provider message:
> >>> The svn tag command failed.
> >>> Command output:
> >>> svn: No such revision 765287
> >>>
> >>>    at
> >>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
> >>>
> >>>    at
> >>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
> >>>
> >>>    at
> >>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
> >>>
> >>>    at
> >>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
> >>>
> >>>    at
> >>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
> >>>
> >>>    at
> >>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> >>>
> >>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
> >>>    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: No such revision 765287
> >>>
> >>>    at
> >>>
> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
> >>>
> >>>    at
> >>>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
> >>>
> >>>    at
> >>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
> >>>
> >>>    ... 16 more
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Total time: 4 minutes 10 seconds
> >>> [INFO] Finished at: Wed Apr 15 20:03:25 CEST 2009
> >>> [INFO] Final Memory: 20M/48M
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn --version
> >>> svn, version 1.6.0 (r36650)
> >>>   compiled Mar 20 2009, 11:03:51
> >>>
> >>>
> >>>
> >>> Le 15 avril 2009 00:40, Raphaël Piéroni <ra...@gmail.com> a
> >>> écrit
> >>> :
> >>>
> >>> I got a strange behaviour :
> >>>> rollback the release, then i do :
> >>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn st
> >>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
> >>>> svn: No such revision 764991
> >>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
> >>>> At revision 764991.
> >>>>
> >>>> could it be a lag on the svn server at apache ?
> >>>>
> >>>> I give up for tonite, and will retry when i will have some time.
> >>>> If any one is interrested in doing the release, feel free. i may
> >>>> have no
> >>>> time untll next week. and at least will have no internet durn the
> >>>> last april
> >>>> week. which could postpone until May.
> >>>>
> >>>>
> >>>> Thanks tfor the help
> >>>>
> >>>> Regards,
> >>>>
> >>>> Raphaël
> >>>>
> >>>>
> >>>> Le 15 avril 2009 00:35, Raphaël Piéroni <ra...@gmail.com> a
> >>>> écrit :
> >>>>
> >>>> Still fails even with subversion 1.5.0
> >>>>>
> >>>>> [INFO] Checking in modified POMs...
> >>>>> [INFO] Executing: /bin/sh -c cd
> >>>>> /Users/raphaelpieroni/Projects/archetype
> >>>>> && svn --non-interactive commit --file
> /tmp/maven-scm-966248461.commit
> >>>>> --targets /tmp/maven-scm-20952-targets
> >>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
> >>>>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
> >>>>> [INFO] Executing: /bin/sh -c cd
> >>>>> /Users/raphaelpieroni/Projects/archetype
> >>>>> && svn --non-interactive copy --file /tmp/maven-scm-1835409830.commit
> >>>>> --revision 764990
> >>>>> https://svn.apache.org/repos/asf/maven/archetype/trunk
> >>>>>
> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
> >>>>>
> >>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
> >>>>> [INFO]
> >>>>>
> ------------------------------------------------------------------------
> >>>>>
> >>>>> [ERROR] BUILD FAILURE
> >>>>> [INFO]
> >>>>>
> ------------------------------------------------------------------------
> >>>>>
> >>>>> [INFO] Unable to tag SCM
> >>>>> Provider message:
> >>>>> The svn tag command failed.
> >>>>> Command output:
> >>>>> svn: No such revision 764990
> >>>>>
> >>>>> [INFO]
> >>>>>
> ------------------------------------------------------------------------
> >>>>>
> >>>>> [INFO] Trace
> >>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
> >>>>> Provider message:
> >>>>> The svn tag command failed.
> >>>>> Command output:
> >>>>> svn: No such revision 764990
> >>>>>
> >>>>>    at
> >>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
> >>>>>
> >>>>>    at
> >>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
> >>>>>
> >>>>>    at
> >>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
> >>>>>
> >>>>>    at
> >>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
> >>>>>
> >>>>>    at
> >>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
> >>>>>
> >>>>>    at
> >>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> >>>>>
> >>>>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >>>>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >>>>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
> >>>>>    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: No such revision 764990
> >>>>>
> >>>>>    at
> >>>>>
> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
> >>>>>
> >>>>>    at
> >>>>>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
> >>>>>
> >>>>>    at
> >>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
> >>>>>
> >>>>>    ... 16 more
> >>>>> [INFO]
> >>>>>
> ------------------------------------------------------------------------
> >>>>>
> >>>>> [INFO] Total time: 3 minutes 28 seconds
> >>>>> [INFO] Finished at: Wed Apr 15 00:33:12 CEST 2009
> >>>>> [INFO] Final Memory: 21M/50M
> >>>>> [INFO]
> >>>>>
> ------------------------------------------------------------------------
> >>>>>
> >>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn
> --version
> >>>>> svn, version 1.5.0 (dev build)
> >>>>>
> >>>>>
> >>>>> Le 15 avril 2009 00:30, Raphaël Piéroni <ra...@gmail.com> a
> >>>>> écrit :
> >>>>>
> >>>>> Setting the plugin version in pluginmanagement didn't work
> >>>>>>
> >>>>>> I have a wrong version of svn it seems
> >>>>>> svn --version
> >>>>>> svn, version 1.5.6 (r36142)
> >>>>>>
> >>>>>>
> >>>>>> I try downgrading to 1.5.0
> >>>>>>
> >>>>>> 2009/4/14 Olivier Lamy <ol...@apache.org>
> >>>>>>
> >>>>>> Or you update maven-release-plugin version to 2.0-beta-9 .
> >>>>>>>
> >>>>>>>
> >>>>>>> 2009/4/14 Arnaud HERITIER <ah...@gmail.com>:
> >>>>>>>> Or you have to use SVN 1.5.0 or 1.6.0 bianires. No 1.5.x.
> >>>>>>>> Arnaud
> >>>>>>>>
> >>>>>>>> On Tue, Apr 14, 2009 at 11:33 PM, Brian Fox <br...@infinity.nu>
> >>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> Raphaël Piéroni wrote:
> >>>>>>>>>
> >>>>>>>>>> Hi folks,
> >>>>>>>>>>
> >>>>>>>>>> I try to prepare the release of the next version of the
> archetype
> >>>>>>> plugin,
> >>>>>>>>>> but i fail.
> >>>>>>>>>> The release plugin tell me it can't create the tag.
> >>>>>>>>>>
> >>>>>>>>>> I run mvn release:prepare -DdryRun=true without any problem,
> >>>>>>>>>> but when i remove the dryRun, i got this exception :
> >>>>>>>>>>
> >>>>>>>>>> [INFO] Checking in modified POMs...
> >>>>>>>>>> [INFO] Executing: /bin/sh -c cd
> >>>>>>> /Users/raphaelpieroni/Projects/archetype
> >>>>>>>>>> &&
> >>>>>>>>>> svn --non-interactive commit --file
> >>>>>>> /tmp/maven-scm-1824375305.commit
> >>>>>>>>>> --targets /tmp/maven-scm-15040-targets
> >>>>>>>>>> [INFO] Working directory:
> >>>>>>>>>> /Users/raphaelpieroni/Projects/archetype
> >>>>>>>>>> [INFO] Tagging release with the label
> >>>>>>> maven-archetype-2.0-alpha-5...
> >>>>>>>>>> [INFO] Executing: /bin/sh -c cd
> >>>>>>> /Users/raphaelpieroni/Projects/archetype
> >>>>>>>>>> &&
> >>>>>>>>>> svn --non-interactive copy --file
> >>>>>>>>>> /tmp/maven-scm-1324398184.commit
> >>>>>>> .
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
> >>>>>>>
> >>>>>>>>>> [INFO] Working directory:
> >>>>>>>>>> /Users/raphaelpieroni/Projects/archetype
> >>>>>>>>>> [INFO]
> >>>>>>>>>>
> >>>>>>>
> ------------------------------------------------------------------------
> >>>>>>>
> >>>>>>>>>> [ERROR] BUILD FAILURE
> >>>>>>>>>> [INFO]
> >>>>>>>>>>
> >>>>>>>
> ------------------------------------------------------------------------
> >>>>>>>
> >>>>>>>>>> [INFO] Unable to tag SCM
> >>>>>>>>>> Provider message:
> >>>>>>>>>> The svn tag command failed.
> >>>>>>>>>> Command output:
> >>>>>>>>>> svn: The specified baseline is not the latest baseline, so it
> may
> >>>>>>> not be
> >>>>>>>>>> checked out.
> >>>>>>>>>>
> >>>>>>>>>> [INFO]
> >>>>>>>>>>
> >>>>>>>
> ------------------------------------------------------------------------
> >>>>>>>
> >>>>>>>>>> [INFO] Trace
> >>>>>>>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
> >>>>>>>>>> Provider message:
> >>>>>>>>>> The svn tag command failed.
> >>>>>>>>>> Command output:
> >>>>>>>>>> svn: The specified baseline is not the latest baseline, so it
> may
> >>>>>>> not be
> >>>>>>>>>> checked out.
> >>>>>>>>>>
> >>>>>>>>>>   at
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
> >>>>>>>
> >>>>>>>>>>   at
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
> >>>>>>>
> >>>>>>>>>>   at
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
> >>>>>>>
> >>>>>>>>>>   at
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
> >>>>>>>
> >>>>>>>>>>   at
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
> >>>>>>>
> >>>>>>>>>>   at
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> >>>>>>>
> >>>>>>>>>>   at
> >>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >>>>>>>>>>   at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >>>>>>>>>>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
> >>>>>>>>>>   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: The specified baseline is not the latest baseline, so it
> may
> >>>>>>> not be
> >>>>>>>>>> checked out.
> >>>>>>>>>>
> >>>>>>>>>>   at
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169)
> >>>>>>>
> >>>>>>>>>>   at
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
> >>>>>>>
> >>>>>>>>>>   at
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
> >>>>>>>
> >>>>>>>>>>   ... 16 more
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> What have i done wrong ?
> >>>>>>>>>>
> >>>>>>>>>> Raphaël
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>> This looks like the classic svn 1.5+ "bug". Are you using the
> >>>>>>>>> latest
> >>>>>>>>> release plugin?
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> ---------------------------------------------------------------------
> >>>>>>>
> >>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>>>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Arnaud
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> ---------------------------------------------------------------------
> >>>>>>>
> >>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: apache subversion lagging? Was: Releasing Maven Archetype Plugin

Posted by Jason van Zyl <jv...@sonatype.com>.
On 16-Apr-09, at 4:02 PM, Brett Porter wrote:

>
> On 17/04/2009, at 4:10 AM, Dennis Lundberg wrote:
>
>> Brett Porter wrote:
>>> You might need to report it to the infrastructure team.
>>>
>>> However, since release:prepare picks up where it leaves off, if you
>>> don't start over (keep release.properties) and run release:prepare
>>> again, you should find that the tag is created successfully after a
>>> period in between.
>>
>> Yes, that is correct.
>>
>> I have a bunch of stuff checked out from the eu svn mirror. When I  
>> do a
>> release against that server, it usually fails the first time. Running
>> the same command again (mvn release:prepare) will pick up and  
>> finish the
>> job successfully.
>
> Benjamin had the problem too (or something similar). It is due to  
> the geo-ip as Brian mentioned. I mentioned it to the infra team and  
> they asked that someone who was experiencing it could talk to them  
> next time it happens o they could try working through it with them.  
> Would someone in Europe that sees this error mind filing an issue  
> with infra along the lines of "commit and subsequent remote tag  
> using the committed revision, such as the maven release plugin does,  
> fails using european svn mirror"?
>

Or we could just use GIT ;-)

> Thanks,
> Brett
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------

Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.

  -- Eric Hoffer, Reflections on the Human Condition


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: apache subversion lagging? Was: Releasing Maven Archetype Plugin

Posted by Dennis Lundberg <de...@apache.org>.
Brett Porter wrote:
> 
> On 17/04/2009, at 4:10 AM, Dennis Lundberg wrote:
> 
>> Brett Porter wrote:
>>> You might need to report it to the infrastructure team.
>>>
>>> However, since release:prepare picks up where it leaves off, if you
>>> don't start over (keep release.properties) and run release:prepare
>>> again, you should find that the tag is created successfully after a
>>> period in between.
>>
>> Yes, that is correct.
>>
>> I have a bunch of stuff checked out from the eu svn mirror. When I do a
>> release against that server, it usually fails the first time. Running
>> the same command again (mvn release:prepare) will pick up and finish the
>> job successfully.
> 
> Benjamin had the problem too (or something similar). It is due to the
> geo-ip as Brian mentioned.

No, I had these problems before the geo-ip thingy was introduced. I
think it happens because the svn sync between the EU mirror and the main
svn server takes too long to complete.

This happens if the svn server you are using (during a release) is a
mirror. The geo-ip solution has only meant that more people have,
unknowingly, started to use the EU mirror.

Perhaps we can introduce an option to wait for x seconds between the svn
actions in the release plugin?

> I mentioned it to the infra team and they
> asked that someone who was experiencing it could talk to them next time
> it happens o they could try working through it with them. Would someone
> in Europe that sees this error mind filing an issue with infra along the
> lines of "commit and subsequent remote tag using the committed revision,
> such as the maven release plugin does, fails using european svn mirror"?
> 
> Thanks,
> Brett
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: apache subversion lagging? Was: Releasing Maven Archetype Plugin

Posted by Brett Porter <br...@apache.org>.
On 17/04/2009, at 4:10 AM, Dennis Lundberg wrote:

> Brett Porter wrote:
>> You might need to report it to the infrastructure team.
>>
>> However, since release:prepare picks up where it leaves off, if you
>> don't start over (keep release.properties) and run release:prepare
>> again, you should find that the tag is created successfully after a
>> period in between.
>
> Yes, that is correct.
>
> I have a bunch of stuff checked out from the eu svn mirror. When I  
> do a
> release against that server, it usually fails the first time. Running
> the same command again (mvn release:prepare) will pick up and finish  
> the
> job successfully.

Benjamin had the problem too (or something similar). It is due to the  
geo-ip as Brian mentioned. I mentioned it to the infra team and they  
asked that someone who was experiencing it could talk to them next  
time it happens o they could try working through it with them. Would  
someone in Europe that sees this error mind filing an issue with infra  
along the lines of "commit and subsequent remote tag using the  
committed revision, such as the maven release plugin does, fails using  
european svn mirror"?

Thanks,
Brett


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: apache subversion lagging? Was: Releasing Maven Archetype Plugin

Posted by Dennis Lundberg <de...@apache.org>.
Brett Porter wrote:
> You might need to report it to the infrastructure team.
> 
> However, since release:prepare picks up where it leaves off, if you
> don't start over (keep release.properties) and run release:prepare
> again, you should find that the tag is created successfully after a
> period in between.

Yes, that is correct.

I have a bunch of stuff checked out from the eu svn mirror. When I do a
release against that server, it usually fails the first time. Running
the same command again (mvn release:prepare) will pick up and finish the
job successfully.

> 
> - Brett
> 
> On 16/04/2009, at 7:34 PM, Raphaël Piéroni wrote:
> 
>> Hi folks,
>>
>> Has anyone any idea on how to solve this issue?
>>
>> Regards,
>>
>> Raphaël
>>
>> Le 15 avril 2009 20:07, Raphaël Piéroni <ra...@gmail.com> a
>> écrit :
>>
>>> Hi follks,
>>>
>>> I retried with SVN 1.6.0 But it still fails with a behaviour that
>>> seems to
>>> confirm that svn@apache is lagging
>>> I dunno what to do next.
>>>
>>> Raphaël
>>>
>>> [INFO] Checking in modified POMs...
>>> [INFO] Executing: /bin/sh -c cd
>>> /Users/raphaelpieroni/Projects/archetype &&
>>> svn --non-interactive commit --file /tmp/maven-scm-1276962846.commit
>>> --targets /tmp/maven-scm-36910-targets
>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>> [DEBUG] Sending        archetype-common/pom.xml
>>> [DEBUG] Sending        archetype-packaging/pom.xml
>>> [DEBUG] Sending        archetype-plugin/pom.xml
>>> [DEBUG] Sending        archetype-testing/archetype-proxy/pom.xml
>>> [DEBUG] Sending        archetype-testing/archetype-repository/pom.xml
>>> [DEBUG] Sending        archetype-testing/pom.xml
>>> [DEBUG] Sending        pom.xml
>>> [DEBUG] Transmitting file data .......
>>> [DEBUG] Committed revision 765287.
>>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
>>> [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
>>> [DEBUG] ScmTagPhase :: scmTagParameters scmRevision 765287
>>> [DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true
>>> [INFO] Executing: /bin/sh -c cd
>>> /Users/raphaelpieroni/Projects/archetype &&
>>> svn --non-interactive copy --file /tmp/maven-scm-361989727.commit
>>> --revision
>>> 765287 https://svn.apache.org/repos/asf/maven/archetype/trunk
>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>>
>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Unable to tag SCM
>>> Provider message:
>>> The svn tag command failed.
>>> Command output:
>>> svn: No such revision 765287
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [DEBUG] Trace
>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>> Provider message:
>>> The svn tag command failed.
>>> Command output:
>>> svn: No such revision 765287
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>
>>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>    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: No such revision 765287
>>>
>>>    at
>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
>>>
>>>    at
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>
>>>    at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>>>
>>>    ... 16 more
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 4 minutes 10 seconds
>>> [INFO] Finished at: Wed Apr 15 20:03:25 CEST 2009
>>> [INFO] Final Memory: 20M/48M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn --version
>>> svn, version 1.6.0 (r36650)
>>>   compiled Mar 20 2009, 11:03:51
>>>
>>>
>>>
>>> Le 15 avril 2009 00:40, Raphaël Piéroni <ra...@gmail.com> a
>>> écrit
>>> :
>>>
>>> I got a strange behaviour :
>>>> rollback the release, then i do :
>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn st
>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>>>> svn: No such revision 764991
>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>>>> At revision 764991.
>>>>
>>>> could it be a lag on the svn server at apache ?
>>>>
>>>> I give up for tonite, and will retry when i will have some time.
>>>> If any one is interrested in doing the release, feel free. i may
>>>> have no
>>>> time untll next week. and at least will have no internet durn the
>>>> last april
>>>> week. which could postpone until May.
>>>>
>>>>
>>>> Thanks tfor the help
>>>>
>>>> Regards,
>>>>
>>>> Raphaël
>>>>
>>>>
>>>> Le 15 avril 2009 00:35, Raphaël Piéroni <ra...@gmail.com> a
>>>> écrit :
>>>>
>>>> Still fails even with subversion 1.5.0
>>>>>
>>>>> [INFO] Checking in modified POMs...
>>>>> [INFO] Executing: /bin/sh -c cd
>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>> && svn --non-interactive commit --file /tmp/maven-scm-966248461.commit
>>>>> --targets /tmp/maven-scm-20952-targets
>>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
>>>>> [INFO] Executing: /bin/sh -c cd
>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>> && svn --non-interactive copy --file /tmp/maven-scm-1835409830.commit
>>>>> --revision 764990
>>>>> https://svn.apache.org/repos/asf/maven/archetype/trunk
>>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>>>>
>>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [INFO] Unable to tag SCM
>>>>> Provider message:
>>>>> The svn tag command failed.
>>>>> Command output:
>>>>> svn: No such revision 764990
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [INFO] Trace
>>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>>> Provider message:
>>>>> The svn tag command failed.
>>>>> Command output:
>>>>> svn: No such revision 764990
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>>>
>>>>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>>    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: No such revision 764990
>>>>>
>>>>>    at
>>>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
>>>>>
>>>>>    at
>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>>>
>>>>>    at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>>>>>
>>>>>    ... 16 more
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [INFO] Total time: 3 minutes 28 seconds
>>>>> [INFO] Finished at: Wed Apr 15 00:33:12 CEST 2009
>>>>> [INFO] Final Memory: 21M/50M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn --version
>>>>> svn, version 1.5.0 (dev build)
>>>>>
>>>>>
>>>>> Le 15 avril 2009 00:30, Raphaël Piéroni <ra...@gmail.com> a
>>>>> écrit :
>>>>>
>>>>> Setting the plugin version in pluginmanagement didn't work
>>>>>>
>>>>>> I have a wrong version of svn it seems
>>>>>> svn --version
>>>>>> svn, version 1.5.6 (r36142)
>>>>>>
>>>>>>
>>>>>> I try downgrading to 1.5.0
>>>>>>
>>>>>> 2009/4/14 Olivier Lamy <ol...@apache.org>
>>>>>>
>>>>>> Or you update maven-release-plugin version to 2.0-beta-9 .
>>>>>>>
>>>>>>>
>>>>>>> 2009/4/14 Arnaud HERITIER <ah...@gmail.com>:
>>>>>>>> Or you have to use SVN 1.5.0 or 1.6.0 bianires. No 1.5.x.
>>>>>>>> Arnaud
>>>>>>>>
>>>>>>>> On Tue, Apr 14, 2009 at 11:33 PM, Brian Fox <br...@infinity.nu>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Raphaël Piéroni wrote:
>>>>>>>>>
>>>>>>>>>> Hi folks,
>>>>>>>>>>
>>>>>>>>>> I try to prepare the release of the next version of the archetype
>>>>>>> plugin,
>>>>>>>>>> but i fail.
>>>>>>>>>> The release plugin tell me it can't create the tag.
>>>>>>>>>>
>>>>>>>>>> I run mvn release:prepare -DdryRun=true without any problem,
>>>>>>>>>> but when i remove the dryRun, i got this exception :
>>>>>>>>>>
>>>>>>>>>> [INFO] Checking in modified POMs...
>>>>>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>> &&
>>>>>>>>>> svn --non-interactive commit --file
>>>>>>> /tmp/maven-scm-1824375305.commit
>>>>>>>>>> --targets /tmp/maven-scm-15040-targets
>>>>>>>>>> [INFO] Working directory:
>>>>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>> [INFO] Tagging release with the label
>>>>>>> maven-archetype-2.0-alpha-5...
>>>>>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>> &&
>>>>>>>>>> svn --non-interactive copy --file
>>>>>>>>>> /tmp/maven-scm-1324398184.commit
>>>>>>> .
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>>>>>>
>>>>>>>>>> [INFO] Working directory:
>>>>>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>>> [INFO]
>>>>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>>>> [ERROR] BUILD FAILURE
>>>>>>>>>> [INFO]
>>>>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>>>> [INFO] Unable to tag SCM
>>>>>>>>>> Provider message:
>>>>>>>>>> The svn tag command failed.
>>>>>>>>>> Command output:
>>>>>>>>>> svn: The specified baseline is not the latest baseline, so it may
>>>>>>> not be
>>>>>>>>>> checked out.
>>>>>>>>>>
>>>>>>>>>> [INFO]
>>>>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>>>> [INFO] Trace
>>>>>>>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>>>>>>>> Provider message:
>>>>>>>>>> The svn tag command failed.
>>>>>>>>>> Command output:
>>>>>>>>>> svn: The specified baseline is not the latest baseline, so it may
>>>>>>> not be
>>>>>>>>>> checked out.
>>>>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>>>>>
>>>>>>>>>>   at
>>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>>>>>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>>>>>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>>>>>>>   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: The specified baseline is not the latest baseline, so it may
>>>>>>> not be
>>>>>>>>>> checked out.
>>>>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169)
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>>>>>
>>>>>>>>>>   at
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>>>>>>>
>>>>>>>>>>   ... 16 more
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> What have i done wrong ?
>>>>>>>>>>
>>>>>>>>>> Raphaël
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> This looks like the classic svn 1.5+ "bug". Are you using the
>>>>>>>>> latest
>>>>>>>>> release plugin?
>>>>>>>>>
>>>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Arnaud
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: apache subversion lagging? Was: Releasing Maven Archetype Plugin

Posted by Brett Porter <br...@apache.org>.
You might need to report it to the infrastructure team.

However, since release:prepare picks up where it leaves off, if you  
don't start over (keep release.properties) and run release:prepare  
again, you should find that the tag is created successfully after a  
period in between.

- Brett

On 16/04/2009, at 7:34 PM, Raphaël Piéroni wrote:

> Hi folks,
>
> Has anyone any idea on how to solve this issue?
>
> Regards,
>
> Raphaël
>
> Le 15 avril 2009 20:07, Raphaël Piéroni <ra...@gmail.com> a  
> écrit :
>
>> Hi follks,
>>
>> I retried with SVN 1.6.0 But it still fails with a behaviour that  
>> seems to
>> confirm that svn@apache is lagging
>> I dunno what to do next.
>>
>> Raphaël
>>
>> [INFO] Checking in modified POMs...
>> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/ 
>> archetype &&
>> svn --non-interactive commit --file /tmp/maven-scm-1276962846.commit
>> --targets /tmp/maven-scm-36910-targets
>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>> [DEBUG] Sending        archetype-common/pom.xml
>> [DEBUG] Sending        archetype-packaging/pom.xml
>> [DEBUG] Sending        archetype-plugin/pom.xml
>> [DEBUG] Sending        archetype-testing/archetype-proxy/pom.xml
>> [DEBUG] Sending        archetype-testing/archetype-repository/pom.xml
>> [DEBUG] Sending        archetype-testing/pom.xml
>> [DEBUG] Sending        pom.xml
>> [DEBUG] Transmitting file data .......
>> [DEBUG] Committed revision 765287.
>> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5...
>> [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
>> [DEBUG] ScmTagPhase :: scmTagParameters scmRevision 765287
>> [DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true
>> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/ 
>> archetype &&
>> svn --non-interactive copy --file /tmp/maven-scm-361989727.commit -- 
>> revision
>> 765287 https://svn.apache.org/repos/asf/maven/archetype/trunk
>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Unable to tag SCM
>> Provider message:
>> The svn tag command failed.
>> Command output:
>> svn: No such revision 765287
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [DEBUG] Trace
>> org.apache.maven.BuildFailureException: Unable to tag SCM
>> Provider message:
>> The svn tag command failed.
>> Command output:
>> svn: No such revision 765287
>>
>>    at
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeGoals(DefaultLifecycleExecutor.java:580)
>>    at
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>    at
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
>> 483)
>>    at
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>    at
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>    at
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>    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: No such revision 765287
>>
>>    at
>> org 
>> .apache 
>> .maven 
>> .plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java: 
>> 190)
>>    at
>> org 
>> .apache 
>> .maven 
>> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
>> 453)
>>    at
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeGoals(DefaultLifecycleExecutor.java:559)
>>    ... 16 more
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 4 minutes 10 seconds
>> [INFO] Finished at: Wed Apr 15 20:03:25 CEST 2009
>> [INFO] Final Memory: 20M/48M
>> [INFO]
>> ------------------------------------------------------------------------
>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn -- 
>> version
>> svn, version 1.6.0 (r36650)
>>   compiled Mar 20 2009, 11:03:51
>>
>>
>>
>> Le 15 avril 2009 00:40, Raphaël Piéroni <ra...@gmail.com>  
>> a écrit
>> :
>>
>> I got a strange behaviour :
>>> rollback the release, then i do :
>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn st
>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>>> svn: No such revision 764991
>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn up
>>> At revision 764991.
>>>
>>> could it be a lag on the svn server at apache ?
>>>
>>> I give up for tonite, and will retry when i will have some time.
>>> If any one is interrested in doing the release, feel free. i may  
>>> have no
>>> time untll next week. and at least will have no internet durn the  
>>> last april
>>> week. which could postpone until May.
>>>
>>>
>>> Thanks tfor the help
>>>
>>> Regards,
>>>
>>> Raphaël
>>>
>>>
>>> Le 15 avril 2009 00:35, Raphaël Piéroni <ra...@gmail.com> a
>>> écrit :
>>>
>>> Still fails even with subversion 1.5.0
>>>>
>>>> [INFO] Checking in modified POMs...
>>>> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/ 
>>>> archetype
>>>> && svn --non-interactive commit --file /tmp/maven- 
>>>> scm-966248461.commit
>>>> --targets /tmp/maven-scm-20952-targets
>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>> [INFO] Tagging release with the label maven-archetype-2.0- 
>>>> alpha-5...
>>>> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/ 
>>>> archetype
>>>> && svn --non-interactive copy --file /tmp/maven- 
>>>> scm-1835409830.commit
>>>> --revision 764990 https://svn.apache.org/repos/asf/maven/archetype/trunk
>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Unable to tag SCM
>>>> Provider message:
>>>> The svn tag command failed.
>>>> Command output:
>>>> svn: No such revision 764990
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>> Provider message:
>>>> The svn tag command failed.
>>>> Command output:
>>>> svn: No such revision 764990
>>>>
>>>>    at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoals(DefaultLifecycleExecutor.java:580)
>>>>    at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>>    at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoal(DefaultLifecycleExecutor.java:483)
>>>>    at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>>    at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>>    at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: 
>>>> 142)
>>>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
>>>> 336)
>>>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>    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: No such revision 764990
>>>>
>>>>    at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .plugins 
>>>> .release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
>>>>    at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .plugin 
>>>> .DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>>    at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoals(DefaultLifecycleExecutor.java:559)
>>>>    ... 16 more
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 3 minutes 28 seconds
>>>> [INFO] Finished at: Wed Apr 15 00:33:12 CEST 2009
>>>> [INFO] Final Memory: 21M/50M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> macbook-pro-de-raphael-pieroni:archetype raphaelpieroni$ svn -- 
>>>> version
>>>> svn, version 1.5.0 (dev build)
>>>>
>>>>
>>>> Le 15 avril 2009 00:30, Raphaël Piéroni  
>>>> <ra...@gmail.com> a
>>>> écrit :
>>>>
>>>> Setting the plugin version in pluginmanagement didn't work
>>>>>
>>>>> I have a wrong version of svn it seems
>>>>> svn --version
>>>>> svn, version 1.5.6 (r36142)
>>>>>
>>>>>
>>>>> I try downgrading to 1.5.0
>>>>>
>>>>> 2009/4/14 Olivier Lamy <ol...@apache.org>
>>>>>
>>>>> Or you update maven-release-plugin version to 2.0-beta-9 .
>>>>>>
>>>>>>
>>>>>> 2009/4/14 Arnaud HERITIER <ah...@gmail.com>:
>>>>>>> Or you have to use SVN 1.5.0 or 1.6.0 bianires. No 1.5.x.
>>>>>>> Arnaud
>>>>>>>
>>>>>>> On Tue, Apr 14, 2009 at 11:33 PM, Brian Fox <br...@infinity.nu>
>>>>>> wrote:
>>>>>>>
>>>>>>>> Raphaël Piéroni wrote:
>>>>>>>>
>>>>>>>>> Hi folks,
>>>>>>>>>
>>>>>>>>> I try to prepare the release of the next version of the  
>>>>>>>>> archetype
>>>>>> plugin,
>>>>>>>>> but i fail.
>>>>>>>>> The release plugin tell me it can't create the tag.
>>>>>>>>>
>>>>>>>>> I run mvn release:prepare -DdryRun=true without any problem,
>>>>>>>>> but when i remove the dryRun, i got this exception :
>>>>>>>>>
>>>>>>>>> [INFO] Checking in modified POMs...
>>>>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>> &&
>>>>>>>>> svn --non-interactive commit --file
>>>>>> /tmp/maven-scm-1824375305.commit
>>>>>>>>> --targets /tmp/maven-scm-15040-targets
>>>>>>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/ 
>>>>>>>>> archetype
>>>>>>>>> [INFO] Tagging release with the label
>>>>>> maven-archetype-2.0-alpha-5...
>>>>>>>>> [INFO] Executing: /bin/sh -c cd
>>>>>> /Users/raphaelpieroni/Projects/archetype
>>>>>>>>> &&
>>>>>>>>> svn --non-interactive copy --file /tmp/maven- 
>>>>>>>>> scm-1324398184.commit
>>>>>> .
>>>>>>>>>
>>>>>>>>>
>>>>>> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0-alpha-5
>>>>>>>>> [INFO] Working directory: /Users/raphaelpieroni/Projects/ 
>>>>>>>>> archetype
>>>>>>>>> [INFO]
>>>>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [ERROR] BUILD FAILURE
>>>>>>>>> [INFO]
>>>>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] Unable to tag SCM
>>>>>>>>> Provider message:
>>>>>>>>> The svn tag command failed.
>>>>>>>>> Command output:
>>>>>>>>> svn: The specified baseline is not the latest baseline, so  
>>>>>>>>> it may
>>>>>> not be
>>>>>>>>> checked out.
>>>>>>>>>
>>>>>>>>> [INFO]
>>>>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] Trace
>>>>>>>>> org.apache.maven.BuildFailureException: Unable to tag SCM
>>>>>>>>> Provider message:
>>>>>>>>> The svn tag command failed.
>>>>>>>>> Command output:
>>>>>>>>> svn: The specified baseline is not the latest baseline, so  
>>>>>>>>> it may
>>>>>> not be
>>>>>>>>> checked out.
>>>>>>>>>
>>>>>>>>>   at
>>>>>>>>>
>>>>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeGoals(DefaultLifecycleExecutor.java:580)
>>>>>>>>>   at
>>>>>>>>>
>>>>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>>>>>>>>>   at
>>>>>>>>>
>>>>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeGoal(DefaultLifecycleExecutor.java:483)
>>>>>>>>>   at
>>>>>>>>>
>>>>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>>>>>>>>>   at
>>>>>>>>>
>>>>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeTaskSegments(DefaultLifecycleExecutor.java:228)
>>>>>>>>>   at
>>>>>>>>>
>>>>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: 
>>>>>> 142)
>>>>>>>>>   at
>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>>>>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
>>>>>>>>> 129)
>>>>>>>>>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>>>>>>>>>   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: The specified baseline is not the latest baseline, so  
>>>>>>>>> it may
>>>>>> not be
>>>>>>>>> checked out.
>>>>>>>>>
>>>>>>>>>   at
>>>>>>>>>
>>>>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .plugins 
>>>>>> .release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169)
>>>>>>>>>   at
>>>>>>>>>
>>>>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .plugin 
>>>>>> .DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>>>>>>>>>   at
>>>>>>>>>
>>>>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeGoals(DefaultLifecycleExecutor.java:559)
>>>>>>>>>   ... 16 more
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> What have i done wrong ?
>>>>>>>>>
>>>>>>>>> Raphaël
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> This looks like the classic svn 1.5+ "bug". Are you using the  
>>>>>>>> latest
>>>>>>>> release plugin?
>>>>>>>>
>>>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Arnaud
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org