<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>

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

    <groupId>io.nuun</groupId>
    <artifactId>nuun-cli-plugin</artifactId>
    <version>1.0.M1</version>
    <packaging>jar</packaging>

    <name>Nuun IO C.L.I. plugin</name>

    <description>
          This plugin provides the IOC for command line. With it you can handle projects with command line options.
    </description>

    <inceptionYear>2012</inceptionYear>

    <licenses>
        <license>
            <name>LGPL 3.0</name>
            <url>http://www.gnu.org/copyleft/lesser.html</url>
        </license>
    </licenses>

    <url>http://nuun.io/plugins/cli</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.6</maven.compiler.source>
        <maven.compiler.target>1.6</maven.compiler.target>
        <nuun.kernel.version>1.0.M1</nuun.kernel.version>
    </properties>

    <dependencies>

       <dependency>
          <groupId>io.nuun</groupId>
          <artifactId>kernel-specs</artifactId>
           <version>${nuun.kernel.version}</version>
        </dependency>

        <dependency>
            <groupId>io.nuun</groupId>
            <artifactId>kernel-core</artifactId>
            <version>${nuun.kernel.version}</version>
        </dependency>

        <dependency>
            <groupId>io.nuun</groupId>
            <artifactId>nuun-log-plugin</artifactId>
            <version>1.0.M1</version>
        </dependency>

        <dependency>
            <groupId>commons-cli</groupId>
            <artifactId>commons-cli</artifactId>
            <version>1.2</version>
        </dependency>

        <!-- ========================================================== -->
        <!-- ============== UNIT TEST DEPENDENCIES ==================== -->
        <!-- ========================================================== -->

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.11</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <scope>test</scope>
            <version>1.0.0</version>
        </dependency>

       <dependency>
            <groupId>org.assertj</groupId>
            <artifactId>assertj-core</artifactId>
            <version>1.3.0</version>
            <scope>test</scope>
        </dependency>

    </dependencies>

    <build>
        <resources>
            <resource>
                <directory>${basedir}/src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
            <resource>
                <directory>${basedir}</directory>
                <targetPath>META-INF</targetPath>
                <includes>
                    <include>LICENSE</include>
                    <include>NOTICE</include>
                </includes>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.2.1</version>
                <executions>
                    <execution>
                        <id>default</id>
                        <goals>
                            <goal>perform</goal>
                        </goals>
                        <configuration>
                            <pomFileName>nuun-cli-plugin/pom.xml</pomFileName>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>com.mycila.maven-license-plugin</groupId>
                <artifactId>maven-license-plugin</artifactId>
                <configuration>
                    <header>src/etc/header.txt</header>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <scm>
        <url>https://github.com/nuun-io/nuun-cli-plugin</url>
        <connection>scm:git:git://github.com/nuun-io/nuun-cli-plugin.git</connection>
        <developerConnection>scm:git:git@github.com:nuun-io/nuun-cli-plugin.git</developerConnection>
        <tag>HEAD</tag>
    </scm>

    <pluginRepositories>
        <pluginRepository>
            <id>mc-release</id>
            <name>Local Maven repository of releases</name>
            <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>true</enabled>
            </releases>
        </pluginRepository>
    </pluginRepositories>

    <developers>
        <developer>
            <name>Epo Jemba</name>
            <email>epo.jemba@kametic.com</email>
            <organization>Kametic</organization>
            <organizationUrl>www.kametic.com</organizationUrl>
            <roles>
                <role>Project Owner</role>
                <role>Architect</role>
                <role>Developer</role>
            </roles>
        </developer>
    </developers>

</project>
