<!--
  ~
  ~ Copyright (c) 2007, Java Spnego Development Team. All Rights Reserved.
  ~
  ~     http://spnego.dev.java.net/servlets/ProjectMemberList
  ~
  ~
  ~ This file is licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
  ~ (CDDL) Version 1.0 (the "License"). You may not use any content of this file
  ~ for any purpose or under any circumstances other than those explicitly
  ~ permitted by the License. You may obtain a copy of the License from:
  ~
  ~     http://www.opensource.org/licenses/cddl1.txt
  ~
  ~ Your use of this file, any of its contents or products indicates your
  ~ acceptance of the terms and conditions of the License.
  ~
  -->

<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>
    <groupId>net.java.spnego</groupId>
    <artifactId>build-tools</artifactId>
    <packaging>jar</packaging>
    <version>1.0</version>
    <name>BuildTools</name>

    <distributionManagement>
        <repository>
            <uniqueVersion>false</uniqueVersion>
            <id>java.net-m2-repository</id>
            <url>java-net:/maven2-repository/trunk/www/repository/</url>
        </repository>
        <!--Site is manually uploaded-->
    </distributionManagement>

    <build>
        <!--<finalName>${project.artifactId}-${project.version}-${buildNumber}</finalName>-->

        <resources>
            <!-- filter resources by default -->
            <resource>
                <directory>${basedir}/src/main/resources</directory>
                <includes>
                    <include>*</include>
                    <include>**/*</include>
                </includes>
                <filtering>true</filtering>
            </resource>
        </resources>

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                    <compilerArguments>
                        <nowarn/>
                        <encoding>utf8</encoding>
                    </compilerArguments>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <inherited>true</inherited>
                <configuration>
                    <outputDirectory>${project.build.directory}/artifacts</outputDirectory>
                    <archive>
                        <addMavenDescriptor>false</addMavenDescriptor>
                        <manifest>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                        </manifest>
                        <manifestEntries>
                            <version>${project.version}</version>
                            <url>${project.url}</url>
                            <Implementation-Build>${buildNumber}</Implementation-Build>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>


        <extensions>
            <extension>
                <groupId>org.jvnet.wagon-svn</groupId>
                <artifactId>wagon-svn</artifactId>
                <version>1.8</version>
            </extension>
        </extensions>
        
    </build>
</project>
