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

Unknown macro: {spacejump}

of Clover, or visit the latest Clover documentation.

Configuring Clover for Maven to use the Atlassian repository

The Atlassian repository is updated immediately when a new version of Clover is released.

  1. Set up your .m2/settings.xml by adding:
    .m2/settings.xml
    ...
    <pluginGroups>
        <pluginGroup>com.atlassian.maven.plugins</pluginGroup>
    </pluginGroups>
    ...
    <profiles>
      <profile>
        <id>myprofile</id>
        <activation>
          <activeByDefault>true</activeByDefault>
        </activation>
        ...
        <pluginRepositories>
          <pluginRepository>
            <releases><enabled>true</enabled></releases>
            <id>atlassian-m2-repository</id>
            <name>Atlassian Maven 2.x Repository</name>
            <url>http://repository.atlassian.com/maven2</url>
          </pluginRepository>
        </pluginRepositories>
        ...
      </profile>
    </profiles>
    
    to tell Maven where to look for the plugin, and
    .m2/settings.xml
    <profiles>
        ...
        <profile>
          <id>myprofile</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          ...
          <properties>
            <maven.clover.licenseLocation>...path to your Clover license file...</maven.clover.licenseLocation>
          </properties>
          ...
       </profile>
       ...
    </profiles>
    
    to set a license location property which you can refer to from all your poms.
  • No labels