as antonio mentioned the SCM plugin needs to identify either the branch or tags or trunk we could provide more assistance if you post your pom.xml
take a look at these attributes to identify branch/tag/trunk http://maven.apache.org/scm/maven-scm-plugin/checkout-mojo.html#scmVersion http://maven.apache.org/scm/maven-scm-plugin/checkout-mojo.html#scmVersionType http://maven.apache.org/scm/maven-scm-plugin/checkout-mojo.html#tagBase Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: [email protected] > To: [email protected] > Date: Wed, 29 Jul 2009 15:43:47 +0200 > Subject: Maven release prepare on a branch > > Hi, > > My question is quiet basic, I think, but though it doesn't work the way I > want :-( > > I would like to prepare a release on a branch of my project. > > To do it, here is what I do : > I check-out my branch to a directory > I get inside the directory > I execute the following command : "mvn release:prepare -Dresume=false " > > I expected the branch to be tagged, but it's not. The tagged version is the > trunk... > I'm desperate... Can anyone help me ? > > Thanks ! > > Regards > Pascale > </PRE><p style="font-family:arial;color:grey" style="font-size:13px">This > message contains information that may be privileged or confidential and is > the property of the Capgemini Group. It is intended only for the person to > whom it is addressed. If you are not the intended recipient, you are not > authorized to read, print, retain, copy, disseminate, distribute, or use this > message or any part thereof. If you receive this message in error, please > notify the sender immediately and delete all copies of this message.</p><PRE> _________________________________________________________________ Windows Live™ Hotmail®: Celebrate the moment with your favorite sports pics. Check it out. http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports
