Is there an alternative to using the Maven Central repository?

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.
Last modified on May 28, 2009

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.