From: Tim M. 2 <tim...@gm...> - 2007-01-15 20:50:17
|
I'm not sure that the system property will work with the Maven2 plugin. The problem you mention has been identified as a bug: http://jira.codehaus.org/browse/MCOBERTURA-57 A workaround appears to be to go back to the version 2.0 of the plugin by specifying this in your <plugins /> section: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.0</version> </plugin> (Note: If you have included the plugin definition only in the <reporting /> section, I found I had to also add it to the <build><plugins /></build> section for it to pick up the earlier version number). Tim Leonardo Degiovannini wrote: > > Hi, I am having problems using the plugin > (http://mojo.codehaus.org/cobertura-maven-plugin/index.html). The problem > is that the plugin generates the cobertura.ser into the > [projectDir]/target/cobertura directory and then looks for it in the > [projectDir] directory. > I found later that there is a property net.sourceforge.cobertura.datafile > where you can configure cobertura to create and load the .ser file but i > cannot configure this through the maven2 plugin. > Someone known a solution to my problem? > Thanks... > Leonardo. > -- View this message in context: http://www.nabble.com/Problems-using-maven-2-plugin-for-cobertura-tf2921081.html#a8378995 Sent from the cobertura-devel mailing list archive at Nabble.com. |