This is the documentation for Clover 3.3. View this page for the

Unknown macro: {spacejump}

of Clover, or visit the latest Clover documentation.

Skip to end of metadata
Go to start of metadata

This page contains the installation instructions for Clover-for-Maven 1. On this page:

System Requirements

Item

Required

Maven

Version 1.0.2 or 1.1

Java

1.4 or above.

Disk Space

Approximately 100MB will be used by your local Maven repository.

RAM

For very large projects we recommend 512MB

Maven and Java must already be installed.

(info) If you are upgrading from an earlier version of Clover-for-Maven 1, see the Clover-for-Maven 1 Upgrade Guide for important preliminary instructions.

1. Downloading the Plugin

To download Clover-for-Maven 1, run the following command at the console:

maven plugin:download -Dversion=2.4.2 -DgroupId=maven -DartifactId=maven-clover-plugin

2. Acquiring the Dependencies from Atlassian

To acquire the dependencies from Atlassian, run the following command at the console:

maven clover:on -Dmaven.repo.remote=https://maven.atlassian.com/repository/public

3. Configuring your Clover License

To configure your license, set the following Maven property:

-Dmaven.clover.license.path=/Users/username/clover.license

Where '/Users/username/clover.license' is the path to your clover license file. You can acquire a Clover license from the Atlassian web site.

4. Configuring your MAVEN_OPTS (optional)

If your project is very large, you may need to give Clover more heap space. To do this, add the following system property:

MAVEN_OPTS=-Xmx512m

You can now begin using Clover-for-Maven 1. See the Clover-for-Maven 1 User's Guide.

  • No labels