Just run the same command again after waiting for 10 second or so.

mvn release:prepare

See also
http://www.apache.org/dev/publishing-maven-artifacts.html#staging-maven


On 2010-09-16 14:37, Simone Tripodi wrote:
> Hi all guys,
> even if it not blocking, I'd like to know why the maven-release-plugin
> fails when committing the tag. When launching
> 
> ---
> mvn -Prc release:prepare
> ---
> 
> when prompt, I insert these data:
> 
> ---
> What is the release version for "Commons Digester"?
> (commons-digester:commons-digester) 2.1: :
> What is SCM release tag or label for "Commons Digester"?
> (commons-digester:commons-digester) commons-digester-2.1: :
> DIGESTER_2_1_RC2
> What is the new development version for "Commons Digester"?
> (commons-digester:commons-digester) 2.2-SNAPSHOT: : 2.1-SNAPSHOT
> ---
> 
> The build arrives until signing the artifacts, then fails when
> committing the tag:
> 
> ---
> [INFO] Executing: /bin/sh -c cd /XXX/commons-digester && svn
> --non-interactive commit --file
> /var/folders/tA/tAi8rfQBEXu-Q2YdN8j4ZU+++TQ/-Tmp-/maven-scm-832812699.commit
> --targets 
> /var/folders/tA/tAi8rfQBEXu-Q2YdN8j4ZU+++TQ/-Tmp-/maven-scm-1900525631622526321-targets
> [INFO] Working directory: /XXX/commons-digester
> [INFO] Tagging release with the label DIGESTER_2_1_RC2...
> [INFO] Executing: /bin/sh -c cd /XXX/commons-digester && svn
> --non-interactive copy --file
> /var/folders/tA/tAi8rfQBEXu-Q2YdN8j4ZU+++TQ/-Tmp-/maven-scm-1520634295.commit
> --revision 997717
> https://svn.apache.org/repos/asf/commons/proper/digester/trunk
> https://svn.apache.org/repos/asf/commons/proper/digester/tags/DIGESTER_2_1_RC2
> [INFO] Working directory: /XXX/commons-digester
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: No such revision 997717
> ---
> 
> It happened twice :( Can anyone help me to understand please? Many
> thanks in advance!
> Simo
> 
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to