<!-- This is Versioneer's POM file. Do not modify unless you know what to do -->
<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <!-- Define our parent as OSS-Parent. This is needed, since we use
         Sonatype's open-source Maven services -->
    <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>7</version>
    </parent>

    <!-- Set up the basic information -->
    <groupId>biz.massive-dynamics</groupId>
    <artifactId>Versioneer</artifactId>
    
    <!-- Also define the version and packaging type -->
    <version>1.3.1.0</version>
    <packaging>jar</packaging>

    <!-- Set up a few more little bits of information -->
    <name>Versioneer</name>
    <url>https://launchpad.net/versioneer</url>
    <description>A library that adds advanced Version capabilities to Java</description>
  
    <!-- Define the license being used -->
    <licenses>
        <license>
            <name>The MIT License</name>
            <url>http://bazaar.launchpad.net/~massive-dynamics-staff/versioneer/trunk/view/head:/Versioneer/LICENSE</url>
            <distribution>repo</distribution>
            <comments>Users may manually add Versioneer to their projects if required</comments>
        </license>
    </licenses>
  
    <!-- Set up the organization. -->
    <organization>
        <name>Massive Dynamics</name>
    </organization>
  
    <!-- List all of the developers -->
    <developers>
        <developer>
            <id>Cruz Julian Bishop</id>
            <name>Cruz Julian Bishop</name>
            <email>cruzjbishop@gmail.com</email>
            <organization>Massive Dynamics</organization>
            <roles>
                <role>Project manager</role>
                <role>Programmer</role>
            </roles>
        </developer>
    </developers>

    <!-- Hmm, that was kind of sad. -->

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    
    <!-- List all of the dependencies. -->
    <dependencies>
        
        <!-- JUnit - Our testing framework -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
  
    <!-- Set up the build system. It's automatic, so list plugins -->
    <build>
        <plugins>
            
            <!-- Maven-javadoc-plugin bundles a jarfile with the javadoc -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.9</version>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            
            <!-- Maven-GPG-plugin signs all of the packages made -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>1.4</version>
                <executions>
                    <execution>
                        <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            
            <!-- Maven-source-plugin creates a jarfile with all of the sources -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>2.2.1</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!-- And, finally, the Maven compiler plugin. -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.5.1</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
