RE: [M2] My tests are launched 3 times !

2006-08-31 Thread Vincent Massol
Hi Benoit, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: mercredi 30 août 2006 16:25 To: users@maven.apache.org Subject: [M2] My tests are launched 3 times ! Hi all, I run a 'mvn clean site install' and my tests are launched 3 times : If you run

Re: RE: [M2] My tests are launched 3 times !

2006-08-31 Thread Torsten Curdt
Maven cannot really guess by itself if the tests have to be re-executed or not. Take for example the Clover plugin. It MUST re-execute the tests because it executes them on clovered sources and not on the original sources. If Maven were to execute the tests only once the clover plugin would

RE: [M2] My tests are launched 3 times !

2006-08-30 Thread Beyer,Nathan
Yes, it will run 3 times, but there's not much that can be done about it. Consider if you adjusted your command to mvn clean install site. It's not required, but for clarity, here's what's happening. The 'clean' launches the clean lifecycle and cleans everything up. The 'install' causes the build

RE: [M2] My tests are launched 3 times !

2006-08-30 Thread bdoumas
Thanks for the answer that was what i excpected :/ So there is no way to overide the mojo declaration in the .java * @execute phase=test lifecycle=surefire ... except to modify the plugin itself ... Selon Beyer,Nathan [EMAIL PROTECTED]: Yes, it will run 3 times, but there's not much that