I reverted back to cobertura-maven-plugin v2.0 to fix the "all classes are 100%" problem, and it worked fine on individual modules.
But the site build fails at the top pom project with http://jira.codehaus.org/browse/MCOBERTURA-38 MCOBERTURA-38 which is fixed in v2.1!!! So I'm a bit stuck between the two bugs. Is there a way to force the 2.0-plugin to use cobertura 1.7? And would that fix it? If the only solution is to use 2.1-SNAPSHOT... then I guess I'll have to try it..... David bkbonner wrote: > > OK, I'll revert back to 2.0, thanks for the tip. > > > dan tran wrote: >> >> use <version>2.0</version> >> >> latest 2.1 is bad, and it should be taken out of repo1 >> >> -D >> >> >> On 2/23/07, Arnaud Bailly <[EMAIL PROTECTED]> wrote: >>> >>> Hello, >>> You may want to try the following configuration >>> >>> <build> >>> <!-- indique les plugin qui seront utilisés dans le projet lors de la >>> compilation --> >>> <plugins> >>> >>> <!-- clean coverage data before collecting --> >>> <plugin> >>> <artifactId>cobertura-maven-plugin</artifactId> >>> <groupId>org.codehaus.mojo</groupId> >>> <executions> >>> <execution> >>> <goals> >>> <goal>clean</goal> >>> </goals> >>> </execution> >>> </executions> >>> </plugin> >>> >>> </plugins> >>> </build> >>> >>> <reporting> >>> <plugins> >>> >>> <!-- test coverage --> >>> <plugin> >>> <groupId>org.codehaus.mojo</groupId> >>> <artifactId>cobertura-maven-plugin</artifactId> >>> </plugin> >>> >>> </plugins> >>> </reporting> >>> >>> HTH >>> -- >>> OQube < software engineering \ génie logiciel > >>> Arnaud Bailly, Dr. >>> \web> http://www.oqube.com >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Maven-2-and-Cobertura---100--coverage----tf3280827s177.html#a9943303 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]