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.
最終更新日 2009 年 5 月 28 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.