Loading...
This page contains instructions for configuring the licence file in all versions of Clover.
Configure your license. You can either:
add it in your .m2/settings.xml file (so that it will become available for all projects running on a given machine):
<profiles>
<profile>
<id>my-clover-profile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- You can define the path to a license file: -->
<maven.clover.licenseLocation>/path/to/clover.license</maven.clover.licenseLocation>
<!-- Or you can embed license key (remember to keep newline characters): -->
<maven.clover.license><![CDATA[
...
]]></maven.clover.license>
</properties>
</profile>
</profiles>
or add it in your pom.xml file:
<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-clover2-plugin</artifactId>
<configuration>
<!-- Define a path to a license file: -->
<licenseLocation>/path/to/clover.license</licenseLocation>
<!-- Or embed a license key (remember to keep newline characters): -->
<license><![CDATA[
...
]]></license>
</configuration>
</plugin>
</plugins>
</build>