Ok! I will use 2.0 for now. Wayne here is the plugin part of my pom:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 <!-- stuff --> <build> <plugins> <!-- some build plugins --> </plugins> </build> <reporting> <plugins> <plugin> <!-- without this, cobertura does not find the cobertura.ser file --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemProperties> <property> <name> net.sourceforge.cobertura.datafile </name> <value> target/cobertura/cobertura.ser </value> </property> </systemProperties> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.1</version> <configuration> <instrumentation> <excludes> <exclude> ar/com/panenergy/bdrc/tests/**/*.class </exclude> </excludes> </instrumentation> </configuration> </plugin> </plugins> </reporting> </project> Thanks for you help! 2007/9/14, Thomas Fischer <[EMAIL PROTECTED]>: > Cobertura 2.1 is buggy anyway, it computes wrong coverages. Try using 2.0 > > Thomas > > "Juan Ignacio Garzón" <[EMAIL PROTECTED]> schrieb am 13.09.2007 > 23:06:43: > > > Hi im having this problem when using the Cobertura plugin. > > > > When I execute the cobertura:cobertura goal within eclipse (m2eclipse) > > I get the following error: > > > > [INFO] Failed to configure plugin parameters for: > > org.codehaus.mojo:cobertura-maven-plugin:2.1 > > > > on the command line, specify: '-Dcheck=VALUE' > > > > Cause: Class name which was explicitly given in configuration using > > 'implementation' attribute: > > 'org.codehaus.mojo.cobertura.configuration.ConfigCheck' cannot be > > loaded > > > > > > But when I run it from a console (typing mvn cobertura:cobertura), I > > have no problems. > > > > I thought that m2eclipse does the same thing than running from console > > but inside eclipse and with some "IDE" benefits, but now I can see > > that its not the same thing. > > > > Any advices? > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]