<?xml version="1.0"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>de.ozgcloud</groupId>
		<artifactId>ozgcloud-operator-parent</artifactId>
		<version>2.6.0</version>
		<relativePath>../</relativePath>
	</parent>

	<artifactId>ozgcloud-elasticsearch-operator</artifactId>
	<packaging>jar</packaging>

	<name>OZG-Cloud Elasticsearch Operator</name>
	<description>OZG-Cloud Elasticsearch Operator</description>

	<properties>
		<spring-boot.build-image.imageName>docker.ozg-sh.de/ozgcloud-elasticsearch-operator:build-latest</spring-boot.build-image.imageName>
	</properties>
	
	<dependencies>
		<dependency>
		    <groupId>co.elastic.clients</groupId>
		    <artifactId>elasticsearch-java</artifactId>
		</dependency>
		<dependency>
		    <groupId>com.fasterxml.jackson.core</groupId>
		    <artifactId>jackson-databind</artifactId>
		</dependency>
		<dependency>
		  <groupId>org.springframework.boot</groupId>
		  <artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		
		<!-- test -->
		<dependency>
	    	<groupId>org.testcontainers</groupId>
		    <artifactId>elasticsearch</artifactId>
		    <scope>test</scope>
		</dependency>
		<dependency>
		    <groupId>io.javaoperatorsdk</groupId>
		    <artifactId>jenvtest-fabric8-client-support</artifactId>
		    <scope>test</scope>
		</dependency>
		<dependency>
		    <groupId>io.javaoperatorsdk</groupId>
		    <artifactId>jenvtest</artifactId>
		    <scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<fork>true</fork>
					<annotationProcessorPaths>
						<path>
							<groupId>org.projectlombok</groupId>
							<artifactId>lombok</artifactId>
							<version>${lombok.version}</version>
						</path>
					</annotationProcessorPaths>
					<showWarnings>true</showWarnings>
				</configuration>
			</plugin>
		</plugins>
	</build>

</project>