<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>at.gv.egiz.eaaf</groupId>
    <artifactId>eaaf_modules</artifactId>
    <version>1.1.10-SNAPSHOT</version>
  </parent>
  <artifactId>eaaf_module_moa-sig</artifactId>
  <name>MOA-Sig signature verification module</name>

  <licenses>
    <license>
      <name>European Union Public License, version 1.2 (EUPL-1.2)</name>
      <url>https://opensource.org/licenses/EUPL-1.2</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <developers>
    <developer>
      <name>Thomas Lenz</name>
      <email>thomas.lenz@egiz.gv.at</email>
      <organization>eGovernment Innovation Center (EGIZ)</organization>
      <organizationUrl>https://www.egiz.gv.at</organizationUrl>
    </developer>
  </developers>
  
  <repositories>
  	<repository>
    	<id>MOA_local</id>
      	<name>MOA Dependencies</name>
      	<releases>
      		<enabled>true</enabled>
      		<checksumPolicy>ignore</checksumPolicy>
      	</releases>
        <layout>default</layout>
        <url>file://${basedir}/repository</url>
     </repository>
     <repository>
    	<id>MOA_web</id>
      	<name>MOA Dependencies weblocation</name>
      	<releases>
      		<enabled>true</enabled>
      		<checksumPolicy>ignore</checksumPolicy>
      	</releases>
        <layout>default</layout>
        <url>https://git.egiz.gv.at/EAAF-Components/plain/eaaf_modules/eaaf_module_moa-sig/repository</url>
     </repository>
  </repositories>
  
  <dependencies>
	<dependency>		   
		<groupId>at.gv.egiz.components</groupId>
    	<artifactId>egiz-spring-api</artifactId>
	</dependency>
	<dependency>
	 	<groupId>at.gv.egiz.eaaf</groupId>
  		<artifactId>eaaf_core_api</artifactId>
	</dependency>
	<dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-webmvc</artifactId>
      <scope>provided</scope>
    </dependency>
    
	<dependency>
  		<groupId>joda-time</groupId>
    	<artifactId>joda-time</artifactId>
  	</dependency>
  	<dependency>
  		<groupId>org.apache.commons</groupId>
    	<artifactId>commons-lang3</artifactId> 
  	</dependency>
		
	<dependency>
		<groupId>MOA.spss.server</groupId>
		<artifactId>moa-sig-lib</artifactId>
		<exclusions>
			<exclusion> 
				<groupId>commons-logging</groupId>
				<artifactId>commons-logging</artifactId>
			</exclusion>
			<exclusion>
				<artifactId>*</artifactId>
				<groupId>axis</groupId>
			</exclusion>
		</exclusions>
	</dependency>
	<dependency>
		<groupId>MOA.spss</groupId>
		<artifactId>common</artifactId>
	</dependency>
	<dependency>
		<groupId>MOA.spss</groupId>
		<artifactId>tsl_lib</artifactId>
	</dependency>					
	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_cms</artifactId>
	</dependency>					
	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_cpades</artifactId>
	</dependency>
	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_cpxlevel</artifactId>
	</dependency>						
	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_eccelerate</artifactId>
	</dependency>		
  	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_eccelerate_addon</artifactId>
	</dependency>							
	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_eccelerate_cms</artifactId>
	</dependency>		
	<dependency>
   		<groupId>iaik.prod</groupId>
     	<artifactId>iaik_jce_full</artifactId>
   	</dependency>
	<dependency>
		<groupId>iaik.prod</groupId>
	  	<artifactId>iaik_jsse</artifactId>
	</dependency>		
	<dependency>
   		<groupId>iaik.prod</groupId>
     	<artifactId>iaik_moa</artifactId>
   	</dependency>		
	<dependency> 
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_pki_module</artifactId>
	</dependency>		
	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_sva</artifactId> 
	</dependency>		
	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_tsp</artifactId>
	</dependency>		
	<dependency> 
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_util</artifactId>
	</dependency>				
	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_xades</artifactId>
	</dependency>
	<dependency>
		<groupId>iaik.prod</groupId>
		<artifactId>iaik_xsect</artifactId>
	</dependency>
	<dependency>
		<groupId>jaxen</groupId>
		<artifactId>jaxen</artifactId>
	</dependency>

	
	
	<dependency>
  		<groupId>junit</groupId>
      	<artifactId>junit</artifactId>
   		<scope>test</scope>
	</dependency>
  	<dependency>
		<groupId>org.springframework</groupId>
		<artifactId>spring-test</artifactId>
		<scope>test</scope>
	</dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <scope>test</scope>
    </dependency>	
	  	  	
  </dependencies>
  
  <build>
   	<resources>
  		<resource>
  			<directory>src/main/resources</directory>
  		</resource>
  	</resources>
  
     <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.8.0</version>
        <configuration>
          <source>${java.version}</source>
          <target>${java.version}</target>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>3.1.1</version>
        <configuration>
        	<archive>
            	<manifest>
              		<addClasspath>true</addClasspath>
              		<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              		<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
            	</manifest>
          	</archive>            
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
        <version>3.1.0</version>
        <configuration>
          <filesets>
            <fileset>
              <directory>test-output</directory>
            </fileset>
          </filesets>
        </configuration>
      </plugin>
      
      <!-- enable co-existence of testng and junit -->
	  <plugin>
	  	<artifactId>maven-surefire-plugin</artifactId>
		<version>${surefire.version}</version>
		<configuration>
			<threadCount>1</threadCount>					
		</configuration>
		<dependencies>
			<dependency>
				<groupId>org.apache.maven.surefire</groupId>
					<artifactId>surefire-junit47</artifactId>
					<version>${surefire.version}</version>
				</dependency>
			</dependencies>
	  </plugin>
  	</plugins>
  </build>
</project>