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

  <goal name="stage-upload"
   
prereqs="clean,mytest,dist:deploy-snapshot,jar:deploy-snapshot,site:generate,site:fsdeploy">
  </goal>

  <goal name="mytest" prereqs="test:test">
    <j:set var="maven.test.skip" value="true" />
  </goal>

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]

Reply via email to