Overriding the default lifecycle is extremely over-kill in this case... Stephen's answer combined with Sabir's example is the solution.
/Anders On Tue, May 4, 2010 at 14:51, Martin Gainty <[email protected]> wrote: > > you'll need to override the default lifecycle..start here > > http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-override-default-lifecycle.html#ex-override-lifecycle > > 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. > > > > > > From: [email protected] > > To: [email protected] > > Date: Tue, 4 May 2010 17:44:19 +0530 > > Subject: Can we customize maven lifecycle? > > > > Hi, > > Can anyone please tell me how do I customize a maven lifecycle? > > e.g. Clean Lifecycle has got the following > > pre-clean > > clean > > and post-clean, > > how about I want to perform a deep-clean after this post-clean is > completed? so that when I try the command "mvn clean" the deep-clean also > takes place(deep-clean is just a name for a goal in my example) > > > > Thanks & Regards, > > Partha Maitra. > > > > ________________________________ > > SASKEN BUSINESS DISCLAIMER: This message may contain confidential, > proprietary or legally privileged information. In case you are not the > original intended Recipient of the message, you must not, directly or > indirectly, use, disclose, distribute, print, or copy any part of this > message and you are requested to delete it and inform the sender. Any views > expressed in this message are those of the individual sender unless > otherwise stated. Nothing contained in this message shall be construed as an > offer or acceptance of any offer by Sasken Communication Technologies > Limited ("Sasken") unless sent with that express intent and with due > authority of Sasken. Sasken has taken enough precautions to prevent the > spread of viruses. However the company accepts no liability for any damage > caused by any virus transmitted by this email. > > _________________________________________________________________ > The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with > Hotmail. > > http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5 >
