I think the solution is to use lazyAttainGoal instead of attainGoal... but I never got it to work and I don't know wether an RC2 will repair this.
Then plugin-writers will be able to make use of it instead of making use of attainGoal or of prereqs (which is equivalent if I don't mistake).


paul



On Mardi, nove 25, 2003, at 15:04 Europe/Paris, Eric Berenguier wrote:

Hi,

I'd like to write a single goal that install jar to repository and produce the maven site:
So i wrote something like this :


<goal name="myGoal">
   <attainGoal name="jar:install"/>
   <attainGoal name="site:generate"/>
</goal>

It works but both jar:install and site:generate call the test:test goal, so i have my unit tests run twice.
It's a real problem when unit tests take a long time to run.


Am i missing something ?
           Eric Berenguier


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to