Maven 2 Repository

This is the infrastructure of my personal Maven repository. It contains releases of my code, e.g. Java Unicode constants and some custom PMD rules. It is a standard Maven 2 repository. To access it you have to add it to your Maven . This can be done in settings.xml. Read the Maven Settings Reference for more details. You can also add it directly to your pom.xml.

Maven Releases
The repository's base URL is https://www.code-cop.org/mvn2repo/. For releases, just add:
<repositories>
  <repository>
    <releases>
      <enabled>true</enabled>
      <updatePolicy>never</updatePolicy>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
    <id>ccc-releases</id>
    <name>Code Cop Code Releases</name>
    <url>https://www.code-cop.org/mvn2repo/releases</url>
  </repository>
</repositories>
Maven Plugins
To use MOJOs like the Macker Maven Plugin, define a <pluginRepository>:
<pluginRepositories>
  <pluginRepository>
    <releases>
      <enabled>true</enabled>
      <updatePolicy>never</updatePolicy>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
    <id>ccc-plugin-releases</id>
    <name>Code Cop Code Releases</name>
    <url>https://www.code-cop.org/mvn2repo/releases</url>
  </pluginRepository>
</pluginRepositories>
Snapshots
Snapshots are rarely deployed.
<repositories>
  <repository>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
    <id>ccc-snapshots</id>
    <name>Code Cop Code Snapshots</name>
    <url>https://www.code-cop.org/mvn2repo/snapshots</url>
  </repository>
</repositories>
<pluginRepositories>
  <pluginRepository>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
    <id>ccc-plugin-snapshots</id>
    <name>Code Cop Code Snapshots</name>
    <url>https://www.code-cop.org/mvn2repo/snapshots</url>
  </pluginRepository>
</pluginRepositories>