<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</groupId>
    	<artifactId>id</artifactId>
    	<version>3.x</version>
  	</parent>
    
    <modelVersion>4.0.0</modelVersion>
    <groupId>MOA.id</groupId>
    <artifactId>moa-id-oa</artifactId>
    <packaging>war</packaging>
    <version>${demo-oa-version}</version>
    <name>MOA Sample OA</name>

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

		<repositories>
			<repository>
				<id>shibboleth.internet2.edu</id>
				<name>Internet2</name>
				<url>https://build.shibboleth.net/nexus/content/groups/public/</url>
			</repository>
            <repository>
                <id>IAIK Local</id>
                <name>iaik/libs</name>
                <url>http://nexus.iaik.tugraz.at/nexus/content/repositories/iaik/</url>
            </repository>
		</repositories>
    
    <build>
        <finalName>oa</finalName>
        <plugins>
<!--         		  <plugin>
            		<groupId>org.codehaus.mojo</groupId>
            		<artifactId>properties-maven-plugin</artifactId>
            		<version>1.0-alpha-2</version>
            		<executions>
                		<execution>
                    		<phase>initialize</phase>
                    		<goals>
                        		<goal>read-project-properties</goal>
                    		</goals>
                    		<configuration>
    	                   		<files>
		                            <file>${basedir}/../../moa-id.properties</file>
      		                  </files>
          		          </configuration>
              		  </execution>
            		</executions>
        		</plugin> -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
    
    <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>org.opensaml</groupId>
  			<artifactId>opensaml</artifactId>
  			<exclusions>
  				<exclusion>
						<groupId>org.slf4j</groupId>
						<artifactId>log4j-over-slf4j</artifactId>
					</exclusion>
  			</exclusions>
  			</dependency>  		
			<dependency>
				<groupId>org.opensaml</groupId>
				<artifactId>xmltooling</artifactId>
  			<exclusions>
  				<exclusion>
						<groupId>org.slf4j</groupId>
						<artifactId>log4j-over-slf4j</artifactId>
					</exclusion>
  			</exclusions>				
				</dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
				<groupId>jstl</groupId>
			  <artifactId>jstl</artifactId>
			  <version>1.2</version>
			</dependency>
						
  		<dependency>
  			<groupId>org.slf4j</groupId>
  			<artifactId>slf4j-api</artifactId>
  		</dependency>
  		<dependency>
  			<groupId>org.slf4j</groupId>
  			<artifactId>slf4j-log4j12</artifactId>
  		</dependency>
  		  		
  		<dependency>
  			<groupId>MOA.id.server</groupId>
  			<artifactId>moa-id-commons</artifactId>
  			<exclusions>
  				<exclusion>
  					<groupId>org.springframework</groupId>
  					<artifactId>*</artifactId>
  				</exclusion>
  				<exclusion>
  					<groupId>mysql</groupId>
  					<artifactId>*</artifactId>  					
  				</exclusion>
  				<exclusion>
  					<groupId>org.hibernate</groupId>
  					<artifactId>*</artifactId>  					
  				</exclusion>
  				<exclusion>
  					<groupId>com.h2database</groupId>
  					<artifactId>*</artifactId>  					
  				</exclusion>  				  			
  			</exclusions>    		
  		</dependency>
  		
    </dependencies>

</project>