Hm ... to some extend I thought that this behaviour is inherent to using Cobertura. Once the tests are run without intrumentation as part of the build. The second time they are run with instrumentation to get the cobertura coverage results.

manfred

Quoting Hugo Palma <[EMAIL PROTECTED]>:

Because i want to run cobertura as part of the CI process that is
pooling for SVN changes. I don't want to generate the site everytime
someone commits to SVN.
Even if i did generate the site, the tests would run twice also, because
i would have to install first. Instead of running "mvn install
cobertura:cobertura" i would run "mvn install site:site"

Kalle Korhonen wrote:
Why don't you just add cobertura as part of the site reports and run
all of the reports with the site generation?

Kalle


On 1/10/08, *Hugo Palma * <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:

    I want run as part of my CI process the goals:

    mvn install cobertura:cobertura

    The problem is that this causes the test phase to be ran twice.
    Any idea how i can prevent this from happening ?

    Thanks.


    ---------------------------------------------------------------------
    To unsubscribe from this list please visit:

        http://xircles.codehaus.org/manage_email
    <http://xircles.codehaus.org/manage_email>







---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to