This documentation is for Clover 3.2.x View the latest version of

Unknown macro: {spacejump}

or visit the current Clover documentation home page.

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