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 > > <goal name="stage-upload"> > <attainGoal name="clean"/> > <attainGoal name="dist:deploy-snapshot"/> > <attainGoal name="jar:deploy-snapshot"/> > <attainGoal name="site:generate"/> > <attainGoal name="site:fsdeploy"/> > </goal> > > 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]
