Setting up Test Optimization with Maven 1 is relatively simple.

This is usually all that is required.

Also see the Maven Documentation for Clover-for-Maven 1.

Properties used in Test Optimization

Property name

Report

Description

maven.clover:snapshot

No

The location of the snapshot file. By default it is stored in .clover/clover.snapshot.

maven.clover.fullBuildEvery

No

Controls how often the snapshot file for Test Optimization is refreshed. The default setting is to refresh the snapshot file every ten builds.

Related Links