On 18 February 2011 04:06, Ewerton Vale Leal <[email protected]> wrote:
> Hello, I need a help to setting maven. I wanna use the
> plugin-coverage-maven-plugin to analyse the coverage of functional tests.
> I use also the cargo plugins, selenium and surefire. Without using these
> plugins,  I can do the coverage of unit tests with no problem.
> But with functional tests does not work.
> I also use  Hudson for continuous integration.
> I'm sending in annex my pom.xml
> Sorry, my english isn't very good.
> My Pom.xml below and in annex.

<snip/>

> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>cobertura-maven-plugin</artifactId>
> <version>2.4</version>
> <executions>
> <execution>
> <id>instrument</id>
> <phase>site</phase>
> <goals>
> <goal>cobertura</goal>
> </goals>
> </execution>
> </executions>
> </plugin>

I'm guessing this is your problem. The "site" phase seems like the
wrong place to run Cobertura. I'd try removing the entire <executions>
part.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to