<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>2.x</version>
	</parent>

	<modelVersion>4.0.0</modelVersion>
	<groupId>MOA.id.server</groupId>
	<artifactId>moa-id-lib</artifactId>
	<version>${moa-id-version}</version>
	<packaging>jar</packaging>
	<name>MOA ID API</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>
	</repositories>
	
	<dependencies>
     <dependency>
     	<groupId>eu.stork</groupId>
      <artifactId>oasis-dss-api</artifactId>
      <version>1.0.0-RELEASE</version>
    </dependency>
    
    <dependency>
    		<groupId>MOA.id.server</groupId>
    		<artifactId>moa-id-commons</artifactId>
    </dependency>
    
<!--         <dependency>
            <groupId>eu.stork</groupId>
            <artifactId>Commons</artifactId>
            <version>1.4.0</version>
        </dependency> -->
        <dependency>
            <groupId>eu.stork</groupId>
            <artifactId>SamlEngine</artifactId>
            <version>1.4.0</version>
        </dependency>

		<dependency>
			<groupId>MOA</groupId>
			<artifactId>moa-common</artifactId>
			<type>jar</type>
		</dependency>
		<dependency>
			<groupId>MOA</groupId>
			<artifactId>moa-common</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>MOA.spss.server</groupId>
			<artifactId>moa-spss-lib</artifactId>
			<exclusions>
				<exclusion>
					<artifactId>iaik_pki_module</artifactId>
					<groupId>iaik</groupId>
				</exclusion>
				<exclusion>
					<groupId>javax.servlet</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>axis</groupId>
			<artifactId>axis</artifactId>
		</dependency>
		
<!-- 		<dependency>
			<groupId>org.glassfish.metro</groupId>
			<artifactId>webservices-tools</artifactId>
			<version>2.3</version>
		</dependency> -->
		<dependency>
			<groupId>org.glassfish.metro</groupId>
			<artifactId>webservices-rt</artifactId>
			<version>2.3</version>
		</dependency>
		
		<dependency>
			<groupId>javax.xml.bind</groupId>
    		<artifactId>jaxb-api</artifactId>
		</dependency>
		
		<dependency>
			<groupId>javax.mail</groupId>
			<artifactId>mail</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<scope>provided</scope>
		</dependency>
		
        <dependency>
            <groupId>xalan-bin-dist</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>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>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>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.6</version>
        </dependency>
<!--         <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.7.6</version>
        </dependency> -->
<!--         <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jcl-over-slf4j</artifactId>
            <version>1.7.6</version>
        </dependency> -->
<!--          <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>log4j-over-slf4j</artifactId>
            <version>1.7.6</version>
        </dependency> -->
<!--         <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jul-to-slf4j</artifactId>
            <version>1.7.6</version>
        </dependency> -->
		
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>
 		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
		</dependency>
<!--		<dependency>
			<groupId>commons-discovery</groupId>
			<artifactId>commons-discovery</artifactId>
		</dependency> -->
 		<dependency>
			<groupId>commons-fileupload</groupId>
			<artifactId>commons-fileupload</artifactId>
    </dependency> 
		<dependency>
			<groupId>commons-httpclient</groupId>
			<artifactId>commons-httpclient</artifactId>
		</dependency>
		<dependency>
			<groupId>dav4j</groupId>
			<artifactId>dav4j</artifactId>
		</dependency>
		<dependency>
			<groupId>httpsclient</groupId>
			<artifactId>httpsclient</artifactId>
		</dependency>
		<dependency>
			<groupId>iaik.prod</groupId>
			<artifactId>iaik_moa</artifactId>
		</dependency>
		<dependency>
			<groupId>iaik.prod</groupId>
			<artifactId>iaik_ixsil</artifactId>
		</dependency>
		<dependency>
			<groupId>iaik.prod</groupId>
			<artifactId>iaik_X509TrustManager</artifactId>
		</dependency>
		<!-- <dependency> <groupId>iaik</groupId> <artifactId>moa</artifactId> 
			<version>1.28</version> </dependency> -->
<!-- 		<dependency>
			<groupId>edu.internet2.middleware</groupId>
			<artifactId>shibboleth-common</artifactId>
			<version>1.4.0</version>
			<exclusions>
				<exclusion>
					<artifactId>logback-classic</artifactId>
					<groupId>ch.qos.logback</groupId>
				</exclusion>
			</exclusions>
		</dependency> -->
		
	<dependency>
  		<groupId>org.opensaml</groupId>
  		<artifactId>opensaml</artifactId>
  	</dependency>  		
	<dependency>
		<groupId>org.opensaml</groupId>
		<artifactId>xmltooling</artifactId>
	</dependency>

<!-- 	<dependency>
			<groupId>regexp</groupId>
			<artifactId>regexp</artifactId>
		</dependency> -->
		
		<!-- <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> 
			</dependency> -->
		<!-- <dependency> <groupId>at.gv.egovernment.moa.id</groupId> <artifactId>mandate-validate</artifactId> 
			<version>1.1</version> </dependency> -->
        <!--
        <dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.6</version>
		</dependency>
        -->



		<!-- JSON JWT implementation -->
		<dependency>
			<groupId>com.googlecode.jsontoken</groupId>
			<artifactId>jsontoken</artifactId>
			<version>1.1</version>
			<exclusions>
				<exclusion>
					<groupId>javax.servlet</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.8</version>
		</dependency>

		<!-- Google OAuth Client -->
		<dependency>
			<groupId>com.google.http-client</groupId>
			<artifactId>google-http-client-jackson2</artifactId>
			<version>1.18.0-rc</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.google.oauth-client</groupId>
			<artifactId>google-oauth-client-jetty</artifactId>
			<version>1.18.0-rc</version>
			<scope>test</scope>
		</dependency>

		<!-- TestNG -->
		<dependency>
			<groupId>org.testng</groupId>
			<artifactId>testng</artifactId>
			<version>6.1.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>eu.stork</groupId>
			<artifactId>DocumentService</artifactId>
			<version>0.0.1-SNAPSHOT</version>
			<classifier>classes</classifier>
			<exclusions>
				<exclusion>
					<artifactId>axis</artifactId>
					<groupId>org.apache.axis</groupId>
				</exclusion>
				<exclusion>
					<artifactId>bcprov-jdk16</artifactId>
					<groupId>org.bouncycastle</groupId>
				</exclusion>
			</exclusions>
		</dependency>
	</dependencies>

	<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> -->
        		        		
				<plugin>
	        <groupId>org.apache.maven.plugins</groupId>
	        <artifactId>maven-dependency-plugin</artifactId>
	        <version>2.8</version>
	        <executions>
	        </executions>
	      </plugin>

        		        		
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
			
						<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
				<configuration>
					<charset>UTF-8</charset>
					<docencoding>UTF-8</docencoding>
					<quiet>true</quiet>
					<author>false</author>
					<version>false</version>
					<use>true</use>
					<excludePackageNames>at.gv.egovernment.moa.spss.server.*;at.gv.egovernment.moa.spss.api.impl.*;at.gv.egovernment.moa.spss.impl.*</excludePackageNames>
					<tags>
						<tag>
							<name>pre</name>
							<placement>a</placement>
							<head>Preconditions:</head>
						</tag>
						<tag>
							<name>post</name>
							<placement>a</placement>
							<head>Postconditions:</head>
						</tag>
					</tags>
					<links>
						<link>http://java.sun.com/j2se/1.4/docs/api/</link>
						<link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
						<link>http://logging.apache.org/log4j/docs/api/</link>
					</links>
					<target>1.5</target>
				</configuration>
				<executions>
					<execution>
						<id>generate-javadoc</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
				<skip>true</skip>
				<skipTests>true</skipTests>
					<archive>
						<addMavenDescriptor>false</addMavenDescriptor>
					</archive>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>test-jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

</project>