Re: Coalescing sub-goals
On Tuesday 22 February 2005 23:22, Brett Porter wrote: > use prereqs instead of attainGoal. > > (this won't help when one of the goals uses attainGoal though). > > For tests specifically, you can run the tests first, then set > maven.test.skip before the later goals. Thanks for the suggestions. Now I've got Which gives some improvement. Michael -- Michael Schuerig The usual excuse for our most unspeakable mailto:[EMAIL PROTECTED] public acts is that they are necessary. http://www.schuerig.de/michael/ --Judith N. Shklar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Coalescing sub-goals
use prereqs instead of attainGoal. (this won't help when one of the goals uses attainGoal though). For tests specifically, you can run the tests first, then set maven.test.skip before the later goals. - Brett On Tue, 22 Feb 2005 23:20:30 +0100, Michael Schuerig <[EMAIL PROTECTED]> wrote: > > In my maven.xml I have defined a goal like this > > > > > > > > > > The result is what I want, but it is achieved in a very inefficient > fashion in that sub-goals, such as test, are repeated over and over. > I'm wondering, is there a way to tell Maven to achieve each goal only > once in a single run? > > Michael > > -- > Michael Schuerig The more it stays the same, > mailto:[EMAIL PROTECTED]The less it changes! > http://www.schuerig.de/michael/ --Spinal Tap, The Majesty of Rock > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Coalescing sub-goals
In my maven.xml I have defined a goal like this The result is what I want, but it is achieved in a very inefficient fashion in that sub-goals, such as test, are repeated over and over. I'm wondering, is there a way to tell Maven to achieve each goal only once in a single run? Michael -- Michael Schuerig The more it stays the same, mailto:[EMAIL PROTECTED]The less it changes! http://www.schuerig.de/michael/ --Spinal Tap, The Majesty of Rock - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]