<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</artifactId>
    <packaging>pom</packaging>
    <name>MOA ID Server</name>

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

    <modules>
        <module>idserverlib</module>
<!--         <module>proxy</module> -->
        <module>auth</module>
        <module>moa-id-commons</module>
        <module>stork2-saml-engine</module>
        <module>stork2-commons</module>
        <module>modules</module>
    </modules>

	<dependencyManagement>
		<dependencies>

			<!-- testing -->
			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit</artifactId>
				<version>${junit.version}</version>
				<scope>test</scope>
			</dependency>

			<!-- tools -->
			<dependency>
				<groupId>org.apache.commons</groupId>
				<artifactId>commons-lang3</artifactId>
				<version>${org.apache.commons.lang3.version}</version>
			</dependency>

			<dependency>
				<groupId>org.apache.commons</groupId>
				<artifactId>commons-collections4</artifactId>
				<version>${org.apache.commons.collections4.version}</version>
			</dependency>

			<dependency>
				<groupId>commons-io</groupId>
				<artifactId>commons-io</artifactId>
				<version>${org.apache.commons.io.version}</version>
			</dependency>

			<!-- spring -->
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-core</artifactId>
				<version>${org.springframework.version}</version>
				<exclusions>
					<exclusion>
						<groupId>commons-logging</groupId>
						<artifactId>commons-logging</artifactId>
					</exclusion>
				</exclusions>
			</dependency>

			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-expression</artifactId>
				<version>${org.springframework.version}</version>
			</dependency>

			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-context</artifactId>
				<version>${org.springframework.version}</version>
			</dependency>

			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-orm</artifactId>
				<version>${org.springframework.version}</version>
			</dependency>

			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-webmvc</artifactId>
				<version>${org.springframework.version}</version>
			</dependency>

			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-test</artifactId>
				<version>${org.springframework.version}</version>
				<scope>test</scope>
			</dependency>
			
			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit</artifactId>
				<version>4.11</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.easymock</groupId>
				<artifactId>easymock</artifactId>
				<version>3.3.1</version>
			</dependency>
			<dependency>
				<groupId>org.unitils</groupId>
				<artifactId>unitils-core</artifactId>
				<version>3.4.2</version>
			</dependency>
			
		</dependencies>
	</dependencyManagement>
	
    <build>
        <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> -->
        	</plugins>
       </build>

</project>