This page contains the installation instructions for Clover-for-Maven 1. On this page:
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.
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.
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
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
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.
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.