<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>3.x</version>
	</parent>
	
	<modelVersion>4.0.0</modelVersion>
	<groupId>MOA.id.server</groupId>
	<artifactId>moa-id-auth-final</artifactId>
	<version>${moa-id-version-final}</version>
	<packaging>war</packaging>
	<name>MOA ID-Auth-Final</name>
	<description>Final release-version of MOA-ID-Auth without education and development functionality</description>
	
	<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>
	</repositories>
	
	<build>
		<!--sourceDirectory>${basedir}/../idserverlib/src/main/java</sourceDirectory-->
		<!--testSourceDirectory>${basedir}/../idserverlib/src/test/java</testSourceDirectory-->
		<plugins>
		
			<plugin>
      	<groupId>org.codehaus.mojo</groupId>
      	<artifactId>versions-maven-plugin</artifactId>
      	<version>2.1</version>
    	</plugin>
		
		
<!-- 		        	<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-war-plugin</artifactId>
				<version>2.1.1</version>
				<!-- <version>2.0.2</version>-->
				<configuration>
					<archive>
						<manifest>
							<addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
						</manifest>
						<addMavenDescriptor>false</addMavenDescriptor>
					</archive>
				</configuration>
			</plugin>
		</plugins>
	</build>
	
	<dependencies>
		<dependency>
			<groupId>MOA.id</groupId>
  		<artifactId>moa-spss-container</artifactId>
  		<type>pom</type>
  		<exclusions>
					<exclusion>
						<groupId>commons-logging</groupId>
						<artifactId>commons-logging</artifactId>
					</exclusion>
					<exclusion>
						<artifactId>axis-wsdl4j</artifactId>
						<groupId>axis</groupId>
					</exclusion>
					<exclusion>
						<artifactId>axis</artifactId>
						<groupId>axis</groupId>
					</exclusion>
					<exclusion>
						<artifactId>axis-jaxrpc</artifactId>
						<groupId>org.apache.axis</groupId>
					</exclusion>
					<exclusion>
						<artifactId>axis-saaj</artifactId>
						<groupId>org.apache.axis</groupId>
					</exclusion>
  		</exclusions>
		</dependency>
				
		<dependency>
			<groupId>MOA.id.server</groupId>
			<artifactId>moa-id-lib</artifactId>
			<exclusions>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
					<groupId>ch.qos.logback</groupId>
					<artifactId>logback-classic</artifactId>
				</exclusion>
				<exclusion>
					<artifactId>axis</artifactId>
					<groupId>axis</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		
		<dependency>
			<groupId>MOA.id.server</groupId>
			<artifactId>moa-id-spring-initializer</artifactId>
		</dependency>
		<dependency>
			<groupId>MOA.id.server</groupId>
  		<artifactId>moa-id-frontend-resources</artifactId>
		</dependency>
		
		
		<!-- Adding eIDAS module dependency automatically adds eIDAS protocol capabilities. -->
		<!--dependency>
			<groupId>MOA.id.server.modules</groupId>
			<artifactId>moa-id-module-eIDAS</artifactId>
		</dependency-->
		
		
		<!-- Adding monitoring module dependency automatically adds monitoring capabilities. -->
		<dependency>
			<groupId>MOA.id.server.modules</groupId>
			<artifactId>moa-id-module-monitoring</artifactId>
		</dependency>


		<dependency>
			<groupId>MOA.id.server.modules</groupId>
			<artifactId>moa-id-module-saml1</artifactId>
		</dependency>

		<dependency>
			<groupId>MOA.id.server.modules</groupId>
			<artifactId>moa-id-module-openID</artifactId>
		</dependency>

 		<dependency>
			<groupId>MOA.id.server.modules</groupId>
    	<artifactId>moa-id-module-elga_mandate_service</artifactId>
		</dependency>

 		<dependency>
			<groupId>MOA.id.server.modules</groupId>
			<artifactId>moa-id-modul-citizencard_authentication</artifactId>
		</dependency>

			<!--dependency>
				<groupId>MOA.id.server.modules</groupId>
				<artifactId>moa-id-modules-federated_authentication</artifactId>
			</dependency--> 

		<!--dependency>
			<groupId>MOA.id.server.modules</groupId>
			<artifactId>moa-id-module-ssoTransfer</artifactId>
			<version>${moa-id-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-bin-dist</groupId>
			<artifactId>xalan</artifactId>
			<!-- should be provided by the container or jre -->
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>xalan</groupId>
					<artifactId>serializer</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>xerces</groupId>
			<artifactId>xercesImpl</artifactId>
			<!-- should be provided by the container or jre -->
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>xalan-bin-dist</groupId>
			<artifactId>xml-apis</artifactId>
			<!-- should be provided by the container or jre -->
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>xalan-bin-dist</groupId>
			<artifactId>serializer</artifactId>
			<!-- should be provided by the container or jre -->
			<scope>provided</scope>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc</artifactId>
			<exclusions>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-tx</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>jcl-over-slf4j</artifactId>
		</dependency>

	</dependencies>

</project>