Hi Jon, Yes, I'm still missing documentation that needs to be added. I'll work on that during this week...
You need to call the goal clover:save-history whenever you wish to save a Clover history point. Once you've accumulated history points you can run the Clover report. It'll generate the standard report AND a history report. If you're using <report> there's a new one that tells the Clover plugin to generate history reports. You can control the location where the history points are saved through the maven.clover.history.dir property (default to somewhere in your target directory which is not a good place if you wish to save them so that they are not erased by a clean). Hope it helps, -Vincent > -----Original Message----- > From: Jon Strayer [mailto:[EMAIL PROTECTED] > Sent: mardi 8 mars 2005 17:22 > To: Maven Users List > Subject: Re: [ANN] Maven Clover Plugin 1.8 released > > How are we supposed to use the new history feature? > > > On Fri, 4 Mar 2005 22:02:54 +0100, Vincent Massol <[EMAIL PROTECTED]> > wrote: > > The maven team is pleased to announce the Maven Clover Plugin 1.8 > release! > > > > http://maven.apache.org/reference/plugins/clover/ > > > > The Clover plugin allows measuring test coverage using Clover > > (http://www.cenqua.com/clover). > > > > Changes in this version include: > > > > New Features: > > > > o Added support for historical reports by adding a new > > clover:save-historygoal that saves a Clover history point. The history > > points are then used by clover:reportto generate history reports > (including > > a link on the Maven-generated website). > > o Add support for method, statement and block context filtering through > the > > following properties: maven.clover.context.block.names, > > maven.clover.context.method.names, > maven.clover.context.method.regexps, > > maven.clover.context.statement.namesand > > maven.clover.context.statement.regexps. > > o Added new clover:checkgoal that verifies if the test coverage if above > a > > threshold defined by the properties maven.clover.check.target, > > maven.clover.check.packagesand maven.clover.check.targets. It fails > the > > build if it's below. > > > > Changes: > > > > o Updated to Clover 1.3.5 and applied new license that supports > generating > > history report (the previous one didn't support it). > > o Changed the location of the default license. It is now bundled in the > > plugin and the plugin no longer downloads it from your remote > repository. > > As before if you wish to use your own license use the > > maven.clover.license.pathproperty. > > > > To automatically install the plugin, type the following on a single > line: > > > > maven plugin:download > > -DgroupId=maven > > -DartifactId=maven-clover-plugin > > -Dversion=1.8 > > > > For a manual installation, you can download the plugin here: > > http://www.apache.org/dyn/closer.cgi/java- > repository/maven/plugins/maven-clover-plugin-1.8.jar > > > > Have fun! > > -The maven team > > > > --------------------------------------------------------------------- > > 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]
