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.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport