HTTPS SSH

Mvn2Repo - Maven 2 Repository

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

Maven Releases

The repository's base URL is http://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>http://www.code-cop.org/mvn2repo/releases</url>
    </repository>
</repositories>

Maven Plugins

To use MOJOs like the MackerMavenPlugin, 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>http://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>http://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>http://www.code-cop.org/mvn2repo/snapshots</url>
    </pluginRepository>
</pluginRepositories>

License

New BSD License, see license.txt in repository.