On Fri, 2005-10-28 at 09:41 -0600, David Jackman wrote: > Is there an answer for this question anywhere? This is something I'll > be facing in the not-too-distant future as well.
It would be a matter of placing something in the session to indicate the task had been done already or the surefire plugin could drop a token somewhere when the tests were done and we could compare the timestamp of that token with the test sources. The latter is probably easier but the former might be a more general solution for plugin developers. > > > -----Original Message----- > From: Van Steenberghe Mario (GFDI) [mailto:[EMAIL PROTECTED] > > Sent: Thursday, October 27, 2005 3:30 AM > To: [email protected] > 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] > > -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org First, the taking in of scattered particulars under one Idea, so that everyone understands what is being talked about ... Second, the separation of the Idea into parts, by dividing it at the joints, as nature directs, not breaking any limb in half as a bad carver might. -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
