<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">
    <parent>
        <groupId>MOA.id</groupId>
        <artifactId>moa-id</artifactId>
        <version>1.4.0</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>MOA.id.server</groupId>
    <artifactId>moa-id-auth</artifactId>
    <packaging>war</packaging>
    <version>1.4.0</version>
    <name>MOA ID-Auth WebService</name>

    <properties>
        <repositoryPath>${basedir}/../../../repository</repositoryPath>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.0.2</version>
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                        </manifest>
                    </archive>
<!--
                    <webResources>
                        <resource>
                            <directory>${basedir}/../resources</directory>
                            <targetPath>WEB-INF/classes/resources</targetPath>
                        </resource>
                        <resource>
                            <directory>${basedir}/../services</directory>
                            <targetPath>WEB-INF/classes/META-INF/services</targetPath>
                        </resource>
                    </webResources>
-->                    
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>MOA.spss.server</groupId>
            <artifactId>moa-spss-lib</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>MOA.id.server</groupId>
            <artifactId>moa-id-lib</artifactId>
            <version>${project.version}</version>
        </dependency>
        <!-- transitive dependencies we don't want to include into the war -->
        <dependency>
            <groupId>iaik.prod</groupId>
            <artifactId>iaik_jce_full</artifactId>
            <!-- should be in the ext directory of the jre -->
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>iaik.prod</groupId>
            <artifactId>iaik_ecc</artifactId>
            <!-- should be in the ext directory of the jre -->
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>iaik.prod</groupId>
            <artifactId>iaik_Pkcs11Provider</artifactId>
            <!-- should be in the ext directory of the jre -->
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>iaik.prod</groupId>
            <artifactId>iaik_Pkcs11Wrapper</artifactId>
            <!-- should be in the ext directory of the jre -->
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
            <!-- should be provided by the container or jre -->
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>xerces</groupId>
            <artifactId>xercesImpl</artifactId>
            <!-- should be provided by the container or jre -->
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>xerces</groupId>
            <artifactId>xmlParserAPIs</artifactId>
            <!-- should be provided by the container or jre -->
            <scope>provided</scope>
        </dependency>
    </dependencies>

</project>