Modify the Cobertura plugin so it does what you want. ;-) It is open source, after all. http://mojo.codehaus.org/cobertura-maven-plugin/
Wayne On 1/11/08, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: > I'd like to do something like this: > http://www.devx.com/Java/Article/36231 but not with Ant but with > Maven. (In summary, it extracts the line coverage rate from the > coverage.xml file created by Cobertura and uses it to make sure future > builds can only do better, not worse.) > > The problem is that the Cobertura Maven plugin doesn't seem to make > the resulting coverage percentage public. I can do a > cobertura:dump-datafile but this doesn't output to a file. Besides > there does not seem to be a way to tell the plugin to use any kind of > configuration file. > > The only solution I can think of is to go the AntRun plugin route... > Does anyone have a better idea? > > Cheers, > Hilco > > --------------------------------------------------------------------- > 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]
