you can specify which goals to execute before the release to quote 
 
<goals>"A space separated list of goals to execute on deployment. Default value 
is either deploy or deploy site-deploy, if the project has a< 
distributionManagement>/<site> element.
User property is: goals.
</goals>

http://maven.apache.org/maven-release/maven-release-plugin/perform-mojo.html

Martin Gainty 
______________________________________________ 
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.

 
> To: users@maven.apache.org
> Subject: chaining release:prepare release:perform for multi-module [I]
> From: nathan.co...@db.com
> Date: Thu, 18 Jul 2013 16:23:17 +0100
> 
> Classification: For internal use only
> 
> Hi all,
> 
> I appreciate the "normal" approach to executing a maven release is to 
> execute release:prepare, followed by release:perform
> 
> I am attempting to set up a release job within our build server (TeamCity) 
> which will atomically create a release.  Assuming successful execution.
> 
> mvn release:prepare release:perform
> 
> My concern is that this will execute prepare followed by perform upon each 
> module in the reactor build order.  Where what is needed is for 
> release:prepare to be executed in full, followed by release perform in 
> full.
> 
> Is there any way to configure this in a single chained command?  Or will I 
> have to configure multiple build jobs and link the jobs?
> 
> Regards,
> Nathan
> 
> 
> 
> 
> ---
> 
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) please 
> notify the sender immediately and delete this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this e-mail is 
> strictly forbidden.
> 
> Please refer to http://www.db.com/en/content/eu_disclosures.htm for 
> additional EU corporate and regulatory disclosures.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
                                          

Reply via email to