Is there an answer for this question anywhere?  This is something I'll
be facing in the not-too-distant future as well.

 

-----Original Message-----
From: Van Steenberghe Mario (GFDI) [mailto:[EMAIL PROTECTED]

Sent: Thursday, October 27, 2005 3:30 AM
To: users@maven.apache.org
Subject: [m2] multiple goal executions

Hello,

We've set up a build that generates some jar files for our projects.
During this build, I also generate some reports, such as surefire-report
and clover.

Now, when I look in the log files, I see that certain goals are executed
multiple times. The one that bothers us the most is 'surefire:test'.

After some research I found that the concerned report mojos have an
'@execute phase="test"' annotation, which means that this phase will be
executed before the mojo is executed, no matter if this phase was
already executed somewhere before.

Since our junit tests take about 20 minutes to run completely, it is
very important that they are not run multiple times.

Is there any way I could easily overcome this problem ?

Many thanks in advance,
Mario Van Steenberghe

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

Reply via email to