From 31582fdca80281f70e3eeb626ce9f4bbbc98234d Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Thu, 12 Oct 2023 13:26:51 +0200
Subject: [PATCH] OZG-3931 adjust poms

---
 bescheid-manager/pom.xml |  5 -----
 pluto-server/pom.xml     | 25 ++-----------------------
 2 files changed, 2 insertions(+), 28 deletions(-)

diff --git a/bescheid-manager/pom.xml b/bescheid-manager/pom.xml
index b6308a078..c917df3cc 100644
--- a/bescheid-manager/pom.xml
+++ b/bescheid-manager/pom.xml
@@ -44,11 +44,6 @@
 			<groupId>de.itvsh.kop.common</groupId>
 			<artifactId>kop-common-lib</artifactId>
 		</dependency>
-		<dependency>
-			<groupId>jakarta.validation</groupId>
-			<artifactId>jakarta.validation-api</artifactId>
-			<version>3.0.2</version>
-		</dependency>
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-starter-freemarker</artifactId>
diff --git a/pluto-server/pom.xml b/pluto-server/pom.xml
index 2aab28234..3403da759 100644
--- a/pluto-server/pom.xml
+++ b/pluto-server/pom.xml
@@ -59,6 +59,7 @@
 
 		<maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
 		<find-and-replace-maven-plugin.version>1.1.0</find-and-replace-maven-plugin.version>
+		<docker-java.version>3.3.3</docker-java.version>
 
 	</properties>
 
@@ -306,7 +307,7 @@
 		<dependency>
 			<groupId>com.github.docker-java</groupId>
 			<artifactId>docker-java-api</artifactId>
-			<version>3.3.3</version>
+			<version>${docker-java.version}</version>
 		</dependency>
 
 		<!-- mongock -->
@@ -386,28 +387,6 @@
 					</dependency>
 				</dependencies>
 			</plugin>
-			<plugin>
-				<groupId>io.github.floverfelt</groupId>
-				<artifactId>find-and-replace-maven-plugin</artifactId>
-				<version>${find-and-replace-maven-plugin.version}</version>
-				<executions>
-					<execution>
-						<id>exec</id>
-						<phase>process-classes</phase>
-						<goals>
-							<goal>find-and-replace</goal>
-						</goals>
-						<configuration>
-							<replacementType>file-contents</replacementType>
-							<baseDir>target/generated-sources/</baseDir>
-							<findRegex>javax</findRegex>
-							<replaceValue>jakarta</replaceValue>
-							<recursive>true</recursive>
-							<fileMask>.java</fileMask>
-						</configuration>
-					</execution>
-				</executions>
-			</plugin>
 		</plugins>
 	</build>
 
-- 
GitLab