<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.eaaf</groupId>
    <artifactId>eaaf_modules</artifactId>
    <version>1.0.8</version>
  </parent>
  <artifactId>eaaf_module_auth_sl20</artifactId>
  <name>Generic SL2.0 authentication</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>
  
  <dependencies>
  	<dependency>
		<groupId>at.gv.egiz.eaaf</groupId>
	  	<artifactId>eaaf-core</artifactId>
	  	<version>${egiz.eaaf.version}</version>
	</dependency>
  	<dependency>
    	<groupId>org.bitbucket.b_c</groupId>
    	<artifactId>jose4j</artifactId>
  	</dependency>
  	<dependency>
    	<groupId>com.fasterxml.jackson.core</groupId>
    	<artifactId>jackson-databind</artifactId>
	</dependency>
  	
	<dependency>
    	<groupId>javax.servlet</groupId>
    	<artifactId>javax.servlet-api</artifactId>
    	<scope>provided</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>