<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
	<groupId>at.gv.egiz</groupId>
	<artifactId>eaaf</artifactId>
	<version>1.1.3-SNAPSHOT</version>
  </parent>

  <groupId>at.gv.egiz.eaaf</groupId>
  <artifactId>eaaf-core</artifactId>
  <name>EAAF core components</name>
  <description>Core components for identity managment implementations</description>
     
  <dependencies>
  	<dependency>
  		<groupId>at.gv.egiz.eaaf</groupId>
  		<artifactId>eaaf_core_api</artifactId>
  	</dependency>
  	<dependency>
		<groupId>at.gv.egiz.eaaf</groupId>
  		<artifactId>eaaf_core_utils</artifactId>
  	</dependency>
  
  	<dependency>
  		<groupId>at.gv.egiz.components</groupId>
    	<artifactId>eventlog-api</artifactId>
  	</dependency>
  	<dependency>
  		<groupId>at.gv.egiz.components</groupId>
    	<artifactId>egiz-spring-api</artifactId>
  	</dependency>
  	<dependency>
  		<groupId>javax.annotation</groupId>
    	<artifactId>javax.annotation-api</artifactId>
  	</dependency>
  	<dependency>
  		<groupId>org.springframework</groupId>
		<artifactId>spring-webmvc</artifactId>
        <scope>provided</scope>
  	</dependency>
  	<dependency>
    	<groupId>org.slf4j</groupId>
    	<artifactId>slf4j-api</artifactId>
	</dependency>
	<!-- dependency>
    	<groupId>org.slf4j</groupId>
    	<artifactId>slf4j-log4j12</artifactId>
	</dependency-->
	<dependency>
		<groupId>commons-codec</groupId>
    	<artifactId>commons-codec</artifactId>
	</dependency>
	<dependency>
		<groupId>org.apache.commons</groupId>
    	<artifactId>commons-lang3</artifactId>
	</dependency>
	<dependency>
		<groupId>org.apache.commons</groupId>
    	<artifactId>commons-collections4</artifactId>
	</dependency>
	<dependency>
		<groupId>org.apache.commons</groupId>
    	<artifactId>commons-text</artifactId>
	</dependency>
	<dependency>
		<groupId>commons-fileupload</groupId>
    	<artifactId>commons-fileupload</artifactId>
	</dependency>
	<dependency>
		<groupId>javax.servlet</groupId>
		<artifactId>javax.servlet-api</artifactId>
	</dependency>
	<dependency>
		<groupId>org.apache.velocity</groupId>
		<artifactId>velocity</artifactId>
	</dependency>
 	<dependency>
		<groupId>jaxen</groupId>
    	<artifactId>jaxen</artifactId>
	</dependency>
	<dependency>
		<groupId>xerces</groupId>
    	<artifactId>xercesImpl</artifactId>
	</dependency>
	<dependency>
		<groupId>xalan</groupId>
	    <artifactId>xalan</artifactId>
	</dependency>
		
    <!-- For testing -->
	<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>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf_core_utils</artifactId>
      <scope>test</scope>
      <type>test-jar</type>
    </dependency>
  </dependencies>
  
   <build>
    <finalName>eaaf_core</finalName>
    
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.7.0</version>
        <configuration>
          <source>1.8</source>
          <target>1.8</target>
        </configuration>
        <executions>
        	<execution>
        		<goals>
        			<goal>compile</goal>
        			<goal>testCompile</goal>
        		</goals>
        	</execution>
        </executions>
      </plugin>
      <plugin>
    	<groupId>org.apache.maven.plugins</groupId>
    	<artifactId>maven-jar-plugin</artifactId>
    	<version>3.1.0</version>
    	<executions>
        	<execution>
            	<goals>
                	<goal>test-jar</goal>
            	</goals>
        	</execution>
    	</executions>
	  </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>