# Changes

Vincent Massol
Emmanuel Venisse

## 1.11-SNAPSHOT in SVN

## 1.10 2005-08-07

Upgrade to Clover 1.3.9. (update, MPCLOVER-46,MPCLOVER-42, vmassol)
The `ant:clover-check`Ant task requires `initString`parameter. (fix, MPCLOVER-44, carlos)
When calling `clover:on`a second time, an updated `maven.compile.src.set`was ignored. (fix, MPCLOVER-30, vmassol, due to Eric Lapierre)

## 1.9.1 2005-05-28

Fixed the `clover:test-single`goal which was wrongly calling the `clover:swing-report-internal`(should have been `clover:swing-report`). (fix, MPCLOVER-40, vmassol, due to Kristopher Brown)
Fixed bug when `maven.test.failure.ignore`is `null`. (fix, MPCLOVER-38, carlos)

## 1.9 2005-05-22

maven.test.failure.ignore
is now correctly reset when `clover:off`is called. (fix, MPCLOVER-37, vmassol, due to Carlos Sanchez)
Fully disable Clover in `clover:off`so that the Clover compiler adapter delegates straight to the default compiler. (fix, MPCLOVER-32, vmassol)
Removed the `maven.clover.jar`property that was used to override the default Clover jar. This property was not working (it requires Ant 1.6) and is no needed anymore as Cenqua has cleanly separated the Clover jar from the Clover license. You only need to point `maven.clover.license.path`to your license file. (remove, vmassol)
Added a quick usage guide in the documentation. (add, vmassol)
Fixed issue where `clover:report`was not calling `clover:on`leading to an error when generating the reports. (fix, vmassol)
Ensure that `clover:init`, `clover:on`and `clover:off`can only be called once. For example calling `clover:on`twice in a row will execute it only once. (update, vmassol)
The `clover:*-report`goals do not call `clover:test`anymore. They only generates Clover reports. This is now aligned with the `clover:report`behavior. To run the full thing, execute the `clover`goal or add the Clover report to your project's POM. (update, vmassol)
Added a `maven.clover.multiproject`property that should be set to true in your master project (if you're using a multiproject setup). Setting it to true will make the `clover`goal and the `maven-clover-plugin`report in your POM execute on all subprojects (they'll call the new `clover:multiproject`goal). (add, vmassol)
New `clover:multiproject`goal to run Clover on a multiproject setup. (add, vmassol)
New `clover:merge`goal that creates a new Clover database by merging several other databases specified using the `maven.clover.merge.databases`property (which defaults to `**/clover_coverage.db`). (add, vmassol)
Fixed issue with Clover task and type definitions not using an explicit classpath which apparently breaks under Maven 1.1. (fix, vmassol)
Always generate Clover reports even when there is no coverage data. One of the reason is that Clover generates metrics other than coverage percentage, like LOC and NCLOC which are useful in themselves. (update, MPCLOVER-35, vmassol)
Upgraded to Clover 1.3.6 (update, MPCLOVER-36, vmassol)
Added PDF report generation. (add, MPCLOVER-31, vmassol, due to Olivier Jacob)

## 1.8 2005-03-04

Added support for historical reports by adding a new `clover:save-history`goal that saves a Clover history point. The history points are then used by `clover:report`to generate history reports (including a link on the Maven-generated website). (add, vmassol)
Updated to Clover 1.3.5 and applied new license that supports generating history report (the previous one didn't support it). (update, vmassol)
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.names`and `maven.clover.context.statement.regexps`. (add, vmassol)
Added new `clover:check`goal that verifies if the test coverage if above a threshold defined by the properties `maven.clover.check.target`, `maven.clover.check.packages`and `maven.clover.check.targets`. It fails the build if it's below. (add, vmassol)
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.path`property. (update, vmassol)

## 1.7 2005-02-14

Do not create a Clover report link when the project has no tests. (fix, MPCLOVER-21, vmassol)
Open Clover report page in a new window in the same manner as it's done for the Javadoc and XRef reports. (update, MPCLOVER-22, vmassol, due to Maarten Coene)
Added `maven.clover.includes`and `maven.clover.excludes`properties to specify what files to include/exclude from the Cloverification. (add, MPCLOVER-25, vmassol, due to Michael Gaffney)
Added new `maven.clover.execute.during.report`property to control whether or not the `clover-report`goal builds Cloverify the sources and execute the tests (defaults to true). (update, MPCLOVER-18, vmassol)
Deprecated `maven.clover.database.dir`property and replaced it with a `maven.cover.database`property that contains not only the database directory but also the name of the database file. (update, MPCLOVER-24, vmassol)
clover:off
should now reset correctly the `maven.build.dest`property that `clover:on`modifies. Note that the reported error has been fixed even though I have not been able to reproduce the problem (and hence we don't have a test for it). (fix, MPCLOVER-28, vmassol)
Upgraded Clover to version 1.3.4. (update, MPCLOVER-26, vmassol)

## 1.6 2004-09-30

The default compiler was not reset after the execution of the `clover:report`goal. (fix, MPCLOVER-23, vmassol)
Added ability for users to specify their own Clover license file by overriding the new `maven.clover.license.path`property. (add, vmassol)
Made the following goals public by documenting them: `clover:report`, `clover:on`, `clover:off`, `clover:test`, `clover:test-single`. (update, vmassol)
Added new `clover:test-single`goal to execute a single test case and to view the test coverage result directly using the Clover Swing viewer. This is useful if you wish to quickly see the action that a single unit test has on the code it tests. (add, MPCLOVER-9, vmassol)
Now using `maven:get`and `maven:set`. (fix, MPCLOVER-19, vmassol)
The `clover:report`goal does not call the tests anymore. It only generates Clover reports. (update, vmassol)
When executing `clover:on`and `clover:off`, modify the `maven.build.dest`property value in the Root context of all plugins so that the value change is available in all Maven plugins. (fix, vmassol)
Prevented the `clover:on`goal from failing when there are no unit tests sources available. (fix, vmassol)
Updated to Clover Ant 1.3_01. (update, vmassol)

## 1.5 2004-05-15

Do not execute Clover if there are no tests to run Clover on. This prevents an error happening in the `clover:on`goal. (fix, vmassol)
Allow generating XML and/or Swing reports during the web site generation too. (update, vmassol)
Tests executed after `<clover:on`are now always forked. (fix, MPCLOVER-13, vmassol)

## 1.4 2003-12-05

Allows the user to override the Clover jar. This is especially useful as the Clover jars are license-signed for a specific project so you might want to use different jars for different projects. (add, MPCLOVER-11, vmassol)
Conditionally instrument test classes too. To instrument test classes set the `maven.clover.instrument.tests`to `true`. (add, MPCLOVER-12, vmassol)
Make sure that the clover plugin restore other plugin's properties it has modified. (update, vmassol)
Removed public `clover:on`goal as it should not have been public. (remove, vmassol)

## 1.3 2003-11-28

Added unit tests for the plugin and reworked the documentation. (add, vmassol)
Upgraded to Clover 1.2.3. (update, vmassol)
Prevent the plugin from failing if the project on which it is run has no java sources/test sources. (fix, vmassol)
Added optional properties to decide what reports to generate. Added a `clover:report`goal which generates all the defined reports. The default is to generate only the HTML report. (update, vmassol)

## 1.2 unknown

Allows a new property to be used to specify the sort order of the HTML clover report. (fix, MPCLOVER-1, dion)
Update to use maven.docs.*/maven.gen.docs (update, dion)
I register reports only if source, test,... exists. So, corresponding entrys in menu will appear only if reports are registered. (fix, MPCHANGELOG-9, evenisse)
Upgrade to Clover 1.2 (update, bwalding)
Make sure that test failures or errors do not stop the generation of the Clover reports. (update, vmassol)

## 1.1 unknown

The Clover plugin now depends on version 1.0 of the Clover jar. (update, vmassol)
A special 30-days redistributable clover 1.0 jar (fully functional) has been uploaded to Maven remote repository, making this plugin transparent to use. (add, vmassol)
Creation of this changes page. (add, vmassol)

## 1.0 unknown

These changes did not exist at that time. Please refer to CVS for history changes before version 1.1. (add, vmassol)