Hi Nino

Basically you get a svn error "no such revision".
This happens because the release plugin does the following:
 - update the version in the pom (release)
 - commit the pom
 - create a tag from the new commit
 - update the version in the pom (snapshot)
 - commit the pom

Apache has the SVN mirrored/spread over multiple servers and a commit is only available once it is propagated to all (or most) servers. Today a college told me about a nice little property one can pass to the maven release plugin:
http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#waitBeforeTagging

The description of this property is:
"Wait the specified number of seconds before creating the tag.
waitBeforeTagging is useful when your source repository is synced between several instances and access to it is determined by geographical location, like the SVN repository at the Apache Software Foundation."

So using this I was able to release.

I will contact infra or whoever is in charge of the FAQ I linked in my first post to include a hint to this property in the answer of the question.

Cheers
Stephan


On 10/20/2014 08:32 PM, nino martinez wael wrote:
Hi Stephan

Could you provide the console output?

2014-10-20 0:09 GMT+02:00 Stephan Classen <sclas...@apache.org>:

Ok

Sorry for the spam and this rant.
But I tried to release a new version of persist and keep on hitting this
stupidity

http://www.apache.org/dev/version-control.html#out-of-sync

I don't get this. at work with a 5 year old legacy project we pull about 4
releases a day and here in the shiny open source world I can't even get a
single release out in 3 hours...

Again sorry and have a good night
Stephan




Reply via email to