<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <groupId>MOA</groupId>
        <artifactId>id</artifactId>
        <version>2.0.1</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>MOA.id</groupId>
    <artifactId>moa-id-configuration</artifactId>
    <version>1.0.1</version>
    <packaging>war</packaging>
    <name>MOA-ID 2.0 Configuration Tool</name>
    <description>Web based Configuration Tool for MOA-ID 2.x</description>

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


    <profiles>
        <profile>
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <repositories>
                <repository>
                    <id>local</id>
                    <name>local</name>
                    <url>file:${basedir}/../../repository</url>
                </repository>
                <repository>
                    <id>shibboleth.internet2.edu</id>
                    <name>Internet2</name>
                    <url>https://build.shibboleth.net/nexus/content/groups/public/</url>
                </repository>
                <repository>
                    <id>jboss</id>
                    <url>https://repository.jboss.org/nexus/content/repositories/central/</url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                </repository>
            </repositories>

        </profile>
    </profiles>


    <dependencies>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
        </dependency>

        <dependency>
            <groupId>MOA.id.server</groupId>
            <artifactId>moa-id-commons</artifactId>
        </dependency>
        <dependency>
            <groupId>MOA.id.server</groupId>
            <artifactId>moa-id-lib</artifactId>
            <!-- <version>1.9.98-SNAPSHOT</version> -->
            <exclusions>
                <exclusion>
                    <groupId>*</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>at.gv.util</groupId>
            <artifactId>egovutils</artifactId>
            <version>1.0.4</version>
            <exclusions>
                <exclusion>
                    <groupId>com.sun</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.7.5</version>
        </dependency>

        <dependency>
            <groupId>org.opensaml</groupId>
            <artifactId>opensaml</artifactId>
        </dependency>
        <dependency>
            <groupId>org.opensaml</groupId>
            <artifactId>xmltooling</artifactId>
        </dependency>

        <dependency>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-core</artifactId>
            <version>2.3.16.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-json-plugin</artifactId>
            <version>2.3.16.1</version>
        </dependency>

        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.6</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
    </dependencies>

		<build>
			<plugins>
				<plugin>
     			<groupId>org.apache.maven.plugins</groupId>
     			<artifactId>maven-war-plugin</artifactId>
     			<version>2.4</version>
     			<configuration>
         		<archive>
             <manifestEntries>
                 <version>${project.version}</version>
             </manifestEntries>
        	 </archive>
    		 </configuration>
</plugin>
			</plugins>
		</build>

</project>