Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

Changes in the Clover 2.3.0 for Maven 2 plugin

12 June, 2008

The Clover 2.3.0 for Maven 2 plugin adds a number of improvements and bug fixes.

Note

Upgrading the Maven 2 plugin
There are specific steps required for upgrading from a previous version of the plugin: see the Upgrade Guide for details.

(info) New version numbering and Maven Artifact ID
In changing the Artifact ID of this project to maven-clover2-plugin, the Clover team has taken the opportunity to bring the version numbering into sync with Clover-for-Ant. This is to make version numbers of Clover for various platforms better reflect the feature set, so that all Clover releases with a given version number will be largely the same.

New Features

Issue key

Summary

CLMVN-35

Enable clover-check to use historydir parameter when checking coverage.

Improvements

Issue key

Summary

CLMVN-17

Ability to disable the plugin for one or more modules in a multi-module build.

CLMVN-27

Generate and Publish the Maven Clover plugin's site.

CLMVN-38

Document the removal of useSureFiretestResults configuration.

CLMVN-41

Investigate Maven Multi-Module problem.

Bug Fixes

Issue key

Summary

CLMVN-29

Make historyDir multi-module aware.

CLMVN-32

Instrumented and uninstrumented jar are on the runtime classpath

CLMVN-25

Clover reports don't work for cross module tests

CLMVN-42

Unable to instrument tests named using Japanese characters.

CLMVN-44

Illegal Char in path on Windows.

Upgrade Considerations for this release of Clover-for-Maven 2

1. Method name prefixes

Methods beginning with 'generate'are now in the maven.clover namespace. This means that the following properties must have the prefix 'maven.clover' added to them. This is an issue for backwards compatibility.

Code Block
maven.clover.generateHtml
maven.clover.generatePdf
maven.clover.generateXml
maven.clover.generateJson
maven.clover.generateHistorical
maven.clover.orderBy

The change make these properties more consistent with all other properties, as well as making them safer to use with other plugins.

2. 'Clover:' must be expressed as 'Clover2:'

Wherever 'Clover:' is used, you must change it to 'Clover2:' to take advantage of the new version.

Read the documentation for instructions on how to install or upgrade. Note that a full clean build is required.