<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>9</version>
    </parent>

    <groupId>net.ripe.commons</groupId>
    <artifactId>commons-ip-math-parent</artifactId>
    <version>1.20</version>
    <packaging>pom</packaging>
    <name>${project.groupId}:${project.artifactId}</name>
    <description>A project to make it easier to work with Internet resources, such as IPv4, IPv6 and AS numbers.</description>
    <url>http://github.com/jgonian/common-ip-math</url>

    <properties>
        <target.jdk>1.6</target.jdk>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <modules>
        <module>commons-ip-math</module>
        <module>commons-ip-math-gwt</module>
    </modules>

    <licenses>
        <license>
            <name>The MIT License</name>
            <url>https://raw.github.com/ygoniana/common-ip-math/master/LICENSE.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <developers>
        <developer>
            <name>Yannis Gonianakis</name>
            <email>jgonian@gmail.com</email>
            <organization>RIPE NCC</organization>
            <organizationUrl>http://www.ripe.net/</organizationUrl>
        </developer>
    </developers>

    <scm>
        <url>https://github.com/jgonian/common-ip-math.git</url>
        <connection>scm:git:git@github.com:jgonian/common-ip-math.git</connection>
        <developerConnection>scm:git:git@github.com:jgonian/common-ip-math.git</developerConnection>
    </scm>

    <distributionManagement>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
        <repository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
    </distributionManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>${target.jdk}</source>
                    <target>${target.jdk}</target>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>

            <plugin>
                <groupId>com.mycila.maven-license-plugin</groupId>
                <artifactId>maven-license-plugin</artifactId>
                <version>1.10.b1</version>
                <configuration>
                    <strictCheck>true</strictCheck>
                    <header>LICENSE.txt</header>
                    <properties>
                        <owner>Yannis Gonianakis</owner>
                        <email>jgonian@gmail.com</email>
                    </properties>
                    <excludes>
                        <exclude>.idea/**/*.*</exclude>
                        <exclude>.gitignore</exclude>
                        <exclude>README.md</exclude>
                    </excludes>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
