Re: Running multiple phases on multimodules.
Well, no, but there have been recent allusions to it in the left-wing political blogs I read. -K On Mar 24, 2010, at 6:00 PM, Justin Edelson wrote: > It's not really "current," but interested parties should see > http://en.wikipedia.org/wiki/Underpants_gnome > > On Wed, Mar 24, 2010 at 5:52 PM, Kathryn Huxtable < > kath...@kathrynhuxtable.org> wrote: > >> I believe he was using some current American television slang from "South >> Park". (The "profit" reference.) >> >> The basic idea is to run the "clean" goal as a maven command, and when it >> completes, run the "install" goal in a separate maven command. >> >> -K >> >> On Mar 24, 2010, at 4:48 PM, Compere, Lydie wrote: >> >>> Hello and thank you for your quick reply Jesse. >>> >>> Please pardon my ignorance but I'm not sure I understand. >>> >>> Would it be possible for you to clarify?? >>> >>> Thanks again! >>> _ >>> >>> >>> From Jesse Farinacci Subject Re: Running multiple >> phases on multimodules. Date Wed, 24 Mar 2010 21:22:49 GMT >>> Hi Lydie, >>> >>> On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie >>> wrote: >>>> >>>> WHAT I WOULD LIKE MAVEN TO DO IS: >>>> >>>> ? ? ? ?clean Child-A >>>> ? ? ? ?clean Child-B >>>> ? ? ? ?clean Child-C >>>> >>>> ? ? ? ?install Child-A >>>> ? ? ? ?install Child-B >>>> ? ? ? ?install Child-C >>>> >>>> Is this possible?? >>>> >>> >>> $ mvn clean ; mvn install ; echo profit! >>> >>> -Jesse >>> >>> -- >>> There are 10 types of people in this world, those >>> that can read binary and those that can not. >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >>> _ >>> >>> Hello, >>> >>> I wonder if anyone ever had this 'request'. >>> >>> I have a multimodule pom and would like to run, say, phases clean and >> install. Thing is, I would like the clean phase to be run on all my modules >> AND THEN have the install phase run on all my modules. Is that possible? >>> >>> Ex.: >>> >>> Module-1 >>> Child-A >>> Child-B >>> Child-C >>> >>> If, at root (Module-1), I do mvn clean install, Maven will: >>> >>> clean Child-A, install Child-A >>> clean Child-B, install Child-B >>> clean Child-C, install Child-C >>> >>> WHAT I WOULD LIKE MAVEN TO DO IS: >>> >>> clean Child-A >>> clean Child-B >>> clean Child-C >>> >>> install Child-A >>> install Child-B >>> install Child-C >>> >>> Is this possible?? >>> >>> >>> >>> >>> >>> TD Assurance réfère collectivement à toutes les entités et >>> activités Canadiennes d'assurance des particuliers au sein de >>> TDBFG. >>> TD Insurance refers collectively to all of the Canadian personal >>> lines insurance entities and activities within TDBFG. >>> - >>> AVIS DE CONFIDENTIALITE. >>> >>> Ce courriel, ainsi que tout renseignement ci-inclus, destiné >>> uniquement au(x) destinataire(s) susmentionné(s), est confidentiel. >>> Si vous n'êtes pas le destinataire prévu ou un agent responsable de >>> la livraison de ce courriel, tout examen, divulgation, copie, >>> impression, reproduction, distribution ou autre utilisation de >>> toute partie de ce courriel est strictement interdit de même que >>> toute action ou manquement à l'égard de celui-ci. Si vous avez reçu >>> ce message par erreur ou sans autorisation, veuillez en aviser >>> immédiatement l'expéditeur par retour de courriel ou par un autre >>> moyen et supprimez immédiatement et entièrement cette communication >>> de tout système électronique. >>> >>> NOTICE OF CONFIDENTIALITY. >>> >>> This communication, including any information transmitted with it, >>> is intended only for the use of the addressee(s) and is >>> confidential. If you are not an intended recipient or responsible >>> for delivering the message to an intended recipient, any review, >>> disclosure, conversion to hard copy, dissemination, reproduction or >>> other use of any part of this communication is strictly prohibited, >>> as is the taking or omitting of any action in reliance upon this >>> communication. If you received this communication in error or >>> without authorization please notify us immediately by return e-mail >>> or otherwise and permanently delete the entire communication from >>> any computer, disk drive, or other storage medium. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
mvn clean && mvn install && echo profit works on xp for me with regular cmd Sent from my [rhymes with tryPod] ;-) On 24 Mar 2010, at 22:04, Wendy Smoak wrote: On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wrote: $ mvn clean ; mvn install ; echo profit! Did you try Jesse's suggestion on the command line? It does exactly what you requested. ... unless he's on Windows, where there's no way to do it on one line afaik. Happy to be proven wrong though! -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
It's not really "current," but interested parties should see http://en.wikipedia.org/wiki/Underpants_gnome On Wed, Mar 24, 2010 at 5:52 PM, Kathryn Huxtable < kath...@kathrynhuxtable.org> wrote: > I believe he was using some current American television slang from "South > Park". (The "profit" reference.) > > The basic idea is to run the "clean" goal as a maven command, and when it > completes, run the "install" goal in a separate maven command. > > -K > > On Mar 24, 2010, at 4:48 PM, Compere, Lydie wrote: > > > Hello and thank you for your quick reply Jesse. > > > > Please pardon my ignorance but I'm not sure I understand. > > > > Would it be possible for you to clarify?? > > > > Thanks again! > > _ > > > > > > From Jesse Farinacci Subject Re: Running multiple > phases on multimodules. Date Wed, 24 Mar 2010 21:22:49 GMT > > Hi Lydie, > > > > On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie > > wrote: > >> > >> WHAT I WOULD LIKE MAVEN TO DO IS: > >> > >> ? ? ? ?clean Child-A > >> ? ? ? ?clean Child-B > >> ? ? ? ?clean Child-C > >> > >> ? ? ? ?install Child-A > >> ? ? ? ?install Child-B > >> ? ? ? ?install Child-C > >> > >> Is this possible?? > >> > > > > $ mvn clean ; mvn install ; echo profit! > > > > -Jesse > > > > -- > > There are 10 types of people in this world, those > > that can read binary and those that can not. > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > _ > > > > Hello, > > > > I wonder if anyone ever had this 'request'. > > > > I have a multimodule pom and would like to run, say, phases clean and > install. Thing is, I would like the clean phase to be run on all my modules > AND THEN have the install phase run on all my modules. Is that possible? > > > > Ex.: > > > > Module-1 > >Child-A > >Child-B > >Child-C > > > > If, at root (Module-1), I do mvn clean install, Maven will: > > > >clean Child-A, install Child-A > >clean Child-B, install Child-B > >clean Child-C, install Child-C > > > > WHAT I WOULD LIKE MAVEN TO DO IS: > > > >clean Child-A > >clean Child-B > >clean Child-C > > > >install Child-A > >install Child-B > >install Child-C > > > > Is this possible?? > > > > > > > > > > > > TD Assurance réfère collectivement à toutes les entités et > > activités Canadiennes d'assurance des particuliers au sein de > > TDBFG. > > TD Insurance refers collectively to all of the Canadian personal > > lines insurance entities and activities within TDBFG. > > - > > AVIS DE CONFIDENTIALITE. > > > > Ce courriel, ainsi que tout renseignement ci-inclus, destiné > > uniquement au(x) destinataire(s) susmentionné(s), est confidentiel. > > Si vous n'êtes pas le destinataire prévu ou un agent responsable de > > la livraison de ce courriel, tout examen, divulgation, copie, > > impression, reproduction, distribution ou autre utilisation de > > toute partie de ce courriel est strictement interdit de même que > > toute action ou manquement à l'égard de celui-ci. Si vous avez reçu > > ce message par erreur ou sans autorisation, veuillez en aviser > > immédiatement l'expéditeur par retour de courriel ou par un autre > > moyen et supprimez immédiatement et entièrement cette communication > > de tout système électronique. > > > > NOTICE OF CONFIDENTIALITY. > > > > This communication, including any information transmitted with it, > > is intended only for the use of the addressee(s) and is > > confidential. If you are not an intended recipient or responsible > > for delivering the message to an intended recipient, any review, > > disclosure, conversion to hard copy, dissemination, reproduction or > > other use of any part of this communication is strictly prohibited, > > as is the taking or omitting of any action in reliance upon this > > communication. If you received this communication in error or > > without authorization please notify us immediately by return e-mail > > or otherwise and permanently delete the entire communication from > > any computer, disk drive, or other storage medium. > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: Running multiple phases on multimodules.
> "mvn clean install" was an example but I actually have > a case where I need to have a list of phases run like Again... you haven't told us WHY you need to do this. Until you do that, we'll just keep throwing out slightly ridiculous (albeit working) "solutions" to your "problem". What is it about Maven's normal way of processing multimodules that is not acceptable to you? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
It's still unclear why the traditional way of invoking Maven (i.e. allowing each project to run through the requested lifecycle phases/goals) is not working for you. Perhaps we can find a better solution to that problem rather than working around it in this way. The commands/scripts provided in this thread will only work on a *nix environment. You can probably do something similar with PowerShell, but again, I think it'd be better to figure out why "mvn clean install" doesn't work. Justin On Wed, Mar 24, 2010 at 6:52 PM, Compere, Lydie < lydie.comp...@tdassurance.com> wrote: > Thank you for your replies. > > I am on a Windows machine. > > "mvn clean install" was an example but I actually have a case where I need > to have a list of phases run like > >[maven-phase-1] child-A >[maven-phase-1] child-B >[maven-phase-1] child-C > >[maven-phase-2] child-A >[maven-phase-2] child-B >[maven-phase-2] child-C > > I take this is possible on unix/linux/.. Machines but not on Windows Is > that correct? > > > > > > > TD Assurance réfère collectivement à toutes les entités et > activités Canadiennes d'assurance des particuliers au sein de > TDBFG. > TD Insurance refers collectively to all of the Canadian personal > lines insurance entities and activities within TDBFG. > - > AVIS DE CONFIDENTIALITE. > > Ce courriel, ainsi que tout renseignement ci-inclus, destiné > uniquement au(x) destinataire(s) susmentionné(s), est confidentiel. > Si vous n'êtes pas le destinataire prévu ou un agent responsable de > la livraison de ce courriel, tout examen, divulgation, copie, > impression, reproduction, distribution ou autre utilisation de > toute partie de ce courriel est strictement interdit de même que > toute action ou manquement à l'égard de celui-ci. Si vous avez reçu > ce message par erreur ou sans autorisation, veuillez en aviser > immédiatement l'expéditeur par retour de courriel ou par un autre > moyen et supprimez immédiatement et entièrement cette communication > de tout système électronique. > > NOTICE OF CONFIDENTIALITY. > > This communication, including any information transmitted with it, > is intended only for the use of the addressee(s) and is > confidential. If you are not an intended recipient or responsible > for delivering the message to an intended recipient, any review, > disclosure, conversion to hard copy, dissemination, reproduction or > other use of any part of this communication is strictly prohibited, > as is the taking or omitting of any action in reliance upon this > communication. If you received this communication in error or > without authorization please notify us immediately by return e-mail > or otherwise and permanently delete the entire communication from > any computer, disk drive, or other storage medium. >
RE: Running multiple phases on multimodules.
Thank you for your replies. I am on a Windows machine. "mvn clean install" was an example but I actually have a case where I need to have a list of phases run like [maven-phase-1] child-A [maven-phase-1] child-B [maven-phase-1] child-C [maven-phase-2] child-A [maven-phase-2] child-B [maven-phase-2] child-C I take this is possible on unix/linux/.. Machines but not on Windows Is that correct? TD Assurance réfère collectivement à toutes les entités et activités Canadiennes d'assurance des particuliers au sein de TDBFG. TD Insurance refers collectively to all of the Canadian personal lines insurance entities and activities within TDBFG. - AVIS DE CONFIDENTIALITE. Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement au(x) destinataire(s) susmentionné(s), est confidentiel. Si vous n'êtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution ou autre utilisation de toute partie de ce courriel est strictement interdit de même que toute action ou manquement à l'égard de celui-ci. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement l'expéditeur par retour de courriel ou par un autre moyen et supprimez immédiatement et entièrement cette communication de tout système électronique. NOTICE OF CONFIDENTIALITY. This communication, including any information transmitted with it, is intended only for the use of the addressee(s) and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you received this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium.
RE: Running multiple phases on multimodules.
On Windoze: > mvn clean && mvn install && echo profit! (sic)
Re: Running multiple phases on multimodules.
oops, mvnn.sh clean install On Wed, Mar 24, 2010 at 3:18 PM, Brian Dilley wrote: > #!/bin/bash > > for i in $@ > do > mvn $i > if [ $? != 0 ]; > then > exit $? > fi > done > > put than in "mvnn.sh" and do: > > mvn.sh clean install > > :) > > > On Wed, Mar 24, 2010 at 3:14 PM, Manfred Moser wrote: > >> You can always stick it into a .bat file and call that.. >> >> > That was my assumption, along with a French-sounding name making the >> > "profit" reference potentially meaningless. >> > >> > -K, who develops on a Mac. I do test on Windows... >> > >> > On Mar 24, 2010, at 5:04 PM, Wendy Smoak wrote: >> > >> >> On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wrote: >> >> >> > $ mvn clean ; mvn install ; echo profit! >> >>> >> >>> Did you try Jesse's suggestion on the command line? It does exactly >> >>> what you requested. >> >> >> >> ... unless he's on Windows, where there's no way to do it on one line >> >> afaik. Happy to be proven wrong though! >> >> >> >> -- >> >> Wendy >> >> >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> >> For additional commands, e-mail: users-h...@maven.apache.org >> > >> > >> > - >> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> > For additional commands, e-mail: users-h...@maven.apache.org >> > >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> >
Re: Running multiple phases on multimodules.
#!/bin/bash for i in $@ do mvn $i if [ $? != 0 ]; then exit $? fi done put than in "mvnn.sh" and do: mvn.sh clean install :) On Wed, Mar 24, 2010 at 3:14 PM, Manfred Moser wrote: > You can always stick it into a .bat file and call that.. > > > That was my assumption, along with a French-sounding name making the > > "profit" reference potentially meaningless. > > > > -K, who develops on a Mac. I do test on Windows... > > > > On Mar 24, 2010, at 5:04 PM, Wendy Smoak wrote: > > > >> On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wrote: > >> > > $ mvn clean ; mvn install ; echo profit! > >>> > >>> Did you try Jesse's suggestion on the command line? It does exactly > >>> what you requested. > >> > >> ... unless he's on Windows, where there's no way to do it on one line > >> afaik. Happy to be proven wrong though! > >> > >> -- > >> Wendy > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > >> For additional commands, e-mail: users-h...@maven.apache.org > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: Running multiple phases on multimodules.
You can always stick it into a .bat file and call that.. > That was my assumption, along with a French-sounding name making the > "profit" reference potentially meaningless. > > -K, who develops on a Mac. I do test on Windows... > > On Mar 24, 2010, at 5:04 PM, Wendy Smoak wrote: > >> On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wrote: >> > $ mvn clean ; mvn install ; echo profit! >>> >>> Did you try Jesse's suggestion on the command line? It does exactly >>> what you requested. >> >> ... unless he's on Windows, where there's no way to do it on one line >> afaik. Happy to be proven wrong though! >> >> -- >> Wendy >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
That was my assumption, along with a French-sounding name making the "profit" reference potentially meaningless. -K, who develops on a Mac. I do test on Windows... On Mar 24, 2010, at 5:04 PM, Wendy Smoak wrote: > On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wrote: > $ mvn clean ; mvn install ; echo profit! >> >> Did you try Jesse's suggestion on the command line? It does exactly >> what you requested. > > ... unless he's on Windows, where there's no way to do it on one line > afaik. Happy to be proven wrong though! > > -- > Wendy > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wrote: >>> $ mvn clean ; mvn install ; echo profit! > > Did you try Jesse's suggestion on the command line? It does exactly > what you requested. ... unless he's on Windows, where there's no way to do it on one line afaik. Happy to be proven wrong though! -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
> Please pardon my ignorance but I'm not sure I understand. > Would it be possible for you to clarify?? > >> $ mvn clean ; mvn install ; echo profit! Did you try Jesse's suggestion on the command line? It does exactly what you requested. Alternatively maybe try the reactor plugin's make mojo, though I honestly have no idea if it will do what you want since I don't use it generally. http://maven.apache.org/plugins/maven-reactor-plugin/ Can you please tell us WHY you want to do this? What is it about the usual "mvn clean install" process that is unacceptable, or is this merely a preference for you? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
I believe he was using some current American television slang from "South Park". (The "profit" reference.) The basic idea is to run the "clean" goal as a maven command, and when it completes, run the "install" goal in a separate maven command. -K On Mar 24, 2010, at 4:48 PM, Compere, Lydie wrote: > Hello and thank you for your quick reply Jesse. > > Please pardon my ignorance but I'm not sure I understand. > > Would it be possible for you to clarify?? > > Thanks again! > _________________ > > > From Jesse Farinacci Subject Re: Running multiple phases > on multimodules. Date Wed, 24 Mar 2010 21:22:49 GMT > Hi Lydie, > > On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie > wrote: >> >> WHAT I WOULD LIKE MAVEN TO DO IS: >> >> ? ? ? ?clean Child-A >> ? ? ? ?clean Child-B >> ? ? ? ?clean Child-C >> >> ? ? ? ?install Child-A >> ? ? ? ?install Child-B >> ? ? ? ?install Child-C >> >> Is this possible?? >> > > $ mvn clean ; mvn install ; echo profit! > > -Jesse > > -- > There are 10 types of people in this world, those > that can read binary and those that can not. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > _ > > Hello, > > I wonder if anyone ever had this 'request'. > > I have a multimodule pom and would like to run, say, phases clean and > install. Thing is, I would like the clean phase to be run on all my modules > AND THEN have the install phase run on all my modules. Is that possible? > > Ex.: > > Module-1 >Child-A >Child-B >Child-C > > If, at root (Module-1), I do mvn clean install, Maven will: > >clean Child-A, install Child-A >clean Child-B, install Child-B >clean Child-C, install Child-C > > WHAT I WOULD LIKE MAVEN TO DO IS: > >clean Child-A >clean Child-B >clean Child-C > >install Child-A >install Child-B >install Child-C > > Is this possible?? > > > > > > TD Assurance réfère collectivement à toutes les entités et > activités Canadiennes d'assurance des particuliers au sein de > TDBFG. > TD Insurance refers collectively to all of the Canadian personal > lines insurance entities and activities within TDBFG. > - > AVIS DE CONFIDENTIALITE. > > Ce courriel, ainsi que tout renseignement ci-inclus, destiné > uniquement au(x) destinataire(s) susmentionné(s), est confidentiel. > Si vous n'êtes pas le destinataire prévu ou un agent responsable de > la livraison de ce courriel, tout examen, divulgation, copie, > impression, reproduction, distribution ou autre utilisation de > toute partie de ce courriel est strictement interdit de même que > toute action ou manquement à l'égard de celui-ci. Si vous avez reçu > ce message par erreur ou sans autorisation, veuillez en aviser > immédiatement l'expéditeur par retour de courriel ou par un autre > moyen et supprimez immédiatement et entièrement cette communication > de tout système électronique. > > NOTICE OF CONFIDENTIALITY. > > This communication, including any information transmitted with it, > is intended only for the use of the addressee(s) and is > confidential. If you are not an intended recipient or responsible > for delivering the message to an intended recipient, any review, > disclosure, conversion to hard copy, dissemination, reproduction or > other use of any part of this communication is strictly prohibited, > as is the taking or omitting of any action in reliance upon this > communication. If you received this communication in error or > without authorization please notify us immediately by return e-mail > or otherwise and permanently delete the entire communication from > any computer, disk drive, or other storage medium. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Running multiple phases on multimodules.
Hello and thank you for your quick reply Jesse. Please pardon my ignorance but I'm not sure I understand. Would it be possible for you to clarify?? Thanks again! _ From Jesse Farinacci Subject Re: Running multiple phases on multimodules. Date Wed, 24 Mar 2010 21:22:49 GMT Hi Lydie, On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie wrote: > > WHAT I WOULD LIKE MAVEN TO DO IS: > > ? ? ? ?clean Child-A > ? ? ? ?clean Child-B > ? ? ? ?clean Child-C > > ? ? ? ?install Child-A > ? ? ? ?install Child-B > ? ? ? ?install Child-C > > Is this possible?? > $ mvn clean ; mvn install ; echo profit! -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org _ Hello, I wonder if anyone ever had this 'request'. I have a multimodule pom and would like to run, say, phases clean and install. Thing is, I would like the clean phase to be run on all my modules AND THEN have the install phase run on all my modules. Is that possible? Ex.: Module-1 Child-A Child-B Child-C If, at root (Module-1), I do mvn clean install, Maven will: clean Child-A, install Child-A clean Child-B, install Child-B clean Child-C, install Child-C WHAT I WOULD LIKE MAVEN TO DO IS: clean Child-A clean Child-B clean Child-C install Child-A install Child-B install Child-C Is this possible?? TD Assurance réfère collectivement à toutes les entités et activités Canadiennes d'assurance des particuliers au sein de TDBFG. TD Insurance refers collectively to all of the Canadian personal lines insurance entities and activities within TDBFG. - AVIS DE CONFIDENTIALITE. Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement au(x) destinataire(s) susmentionné(s), est confidentiel. Si vous n'êtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution ou autre utilisation de toute partie de ce courriel est strictement interdit de même que toute action ou manquement à l'égard de celui-ci. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement l'expéditeur par retour de courriel ou par un autre moyen et supprimez immédiatement et entièrement cette communication de tout système électronique. NOTICE OF CONFIDENTIALITY. This communication, including any information transmitted with it, is intended only for the use of the addressee(s) and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you received this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium.
Re: Running multiple phases on multimodules.
Ah. Yes, I see that. Thanks! I've never really had the need to use a parent project, so I wasn't sure. -K On Mar 24, 2010, at 4:41 PM, Justin Edelson wrote: > That runs clean and install on each project before proceeding to the > next project. It sounds like the OP wants to clean all projects before > installing the first one. Although why is beyond me. > > Justin > > On Mar 24, 2010, at 2:36 PM, Kathryn Huxtable > wrote: > >> Does it not work to simply do: >> >> $ mvn clean install >> >> ? >> >> -K >> >> On Mar 24, 2010, at 4:22 PM, Jesse Farinacci wrote: >> >>> Hi Lydie, >>> >>> On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie >>> wrote: WHAT I WOULD LIKE MAVEN TO DO IS: clean Child-A clean Child-B clean Child-C install Child-A install Child-B install Child-C Is this possible?? >>> >>> $ mvn clean ; mvn install ; echo profit! >>> >>> -Jesse >>> >>> -- >>> There are 10 types of people in this world, those >>> that can read binary and those that can not. >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
That runs clean and install on each project before proceeding to the next project. It sounds like the OP wants to clean all projects before installing the first one. Although why is beyond me. Justin On Mar 24, 2010, at 2:36 PM, Kathryn Huxtable wrote: > Does it not work to simply do: > > $ mvn clean install > > ? > > -K > > On Mar 24, 2010, at 4:22 PM, Jesse Farinacci wrote: > >> Hi Lydie, >> >> On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie >> wrote: >>> >>> WHAT I WOULD LIKE MAVEN TO DO IS: >>> >>> clean Child-A >>> clean Child-B >>> clean Child-C >>> >>> install Child-A >>> install Child-B >>> install Child-C >>> >>> Is this possible?? >>> >> >> $ mvn clean ; mvn install ; echo profit! >> >> -Jesse >> >> -- >> There are 10 types of people in this world, those >> that can read binary and those that can not. >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
Does it not work to simply do: $ mvn clean install ? -K On Mar 24, 2010, at 4:22 PM, Jesse Farinacci wrote: > Hi Lydie, > > On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie > wrote: >> >> WHAT I WOULD LIKE MAVEN TO DO IS: >> >>clean Child-A >>clean Child-B >>clean Child-C >> >>install Child-A >>install Child-B >>install Child-C >> >> Is this possible?? >> > > $ mvn clean ; mvn install ; echo profit! > > -Jesse > > -- > There are 10 types of people in this world, those > that can read binary and those that can not. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Running multiple phases on multimodules.
Hi Lydie, On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie wrote: > > WHAT I WOULD LIKE MAVEN TO DO IS: > > clean Child-A > clean Child-B > clean Child-C > > install Child-A > install Child-B > install Child-C > > Is this possible?? > $ mvn clean ; mvn install ; echo profit! -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org