<!-- ~ Copyright 2016 Red Hat, Inc. and/or its affiliates ~ and other contributors
	as indicated by the @author tags. ~ ~ Licensed under the Apache License,
	Version 2.0 (the "License"); ~ you may not use this file except in compliance
	with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0
	~ ~ Unless required by applicable law or agreed to in writing, software ~
	distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT
	WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the
	License for the specific language governing permissions and ~ limitations
	under the License. -->
<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">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.minsait.onesait.segittur</groupId>
	<artifactId>segittur-keycloak-plugin</artifactId>
	<packaging>jar</packaging>
	<name>Keycloak Plugin: segittur</name>
	<description>User Storage Provider for Segittur</description>
	<version>1.0.0</version>
	<licenses>
		<license>
			<name>Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<properties>
		<version.compiler.maven.plugin>3.5.1</version.compiler.maven.plugin>
		<version.hibernate.javax.persistence>1.0.0.Final</version.hibernate.javax.persistence>
		<version.jboss-ejb-api>1.0.0.Final</version.jboss-ejb-api>
		<version.keycloak.server>21.1.1</version.keycloak.server>
	</properties>
	<dependencies>
		<dependency>
			<groupId>org.keycloak</groupId>
			<artifactId>keycloak-core</artifactId>
			<version>${version.keycloak.server}</version>
		</dependency>
		<dependency>
			<groupId>org.keycloak</groupId>
			<artifactId>keycloak-server-spi</artifactId>
			<version>${version.keycloak.server}</version>
		</dependency>
		<dependency>
			<groupId>org.keycloak</groupId>
			<artifactId>keycloak-server-spi-private</artifactId>
			<version>${version.keycloak.server}</version>
		</dependency>
		<dependency>
			<groupId>org.keycloak</groupId>
			<artifactId>keycloak-services</artifactId>
			<version>${version.keycloak.server}</version>
		</dependency>
		<dependency>
			<groupId>org.jboss.logging</groupId>
			<artifactId>jboss-logging</artifactId>
			<version>3.3.2.Final</version>
		</dependency>
		 <dependency>
            <groupId>com.squareup.okhttp3</groupId>
            <artifactId>okhttp</artifactId>
            <version>4.10.0</version>
        </dependency>
        <dependency>
  <groupId>org.keycloak</groupId>
  <artifactId>keycloak-saml-core</artifactId>
  <version>${version.keycloak.server}</version>
</dependency>

<dependency>
  <groupId>org.keycloak</groupId>
  <artifactId>keycloak-saml-core-public</artifactId>
  <version>${version.keycloak.server}</version>
</dependency>



	</dependencies>
	<distributionManagement>
		<repository>
			<id>releases</id>
			<url>https://nexus.onesaitplatform.com/nexus/repository/releases/</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
	</distributionManagement>
	<repositories>
		<repository>
			<id>osp releases</id>
			<url>https://nexus.onesaitplatform.com/nexus/repository/releases/</url>
		</repository>
	</repositories>
	<profiles>
		<profile>
			<id>releases</id>
			<activation>
				<activeByDefault>false</activeByDefault>
			</activation>
			<distributionManagement>
				<repository>
					<id>releases</id>
					<url>https://nexus.onesaitplatform.com/nexus/repository/releases/</url>
				</repository>
			</distributionManagement>
		</profile>
	</profiles>
	<build>
		<finalName>segittur-keycloak-plugin</finalName>
		<resources>
			<resource>
				<targetPath>META-INF/</targetPath>
				<directory>src/main/resources/META-INF/</directory>
				<filtering>true</filtering>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<source>17</source>
					<target>17</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
