From 9d08f2e723c1d2eac9edfbd7812ef0f26d710cfb Mon Sep 17 00:00:00 2001
From: OZG-Cloud Team <noreply@ozg-sh.de>
Date: Wed, 20 Nov 2024 18:13:00 +0100
Subject: [PATCH] OZG-5778 adjust maven goal to image build

---
 formcycle-adapter/formcycle-adapter-impl/pom.xml | 3 +--
 formsolutions-adapter/pom.xml                    | 1 +
 intelliform-adapter/pom.xml                      | 1 +
 xta-adapter/pom.xml                              | 4 ++--
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/formcycle-adapter/formcycle-adapter-impl/pom.xml b/formcycle-adapter/formcycle-adapter-impl/pom.xml
index b436b5b2..ee86ee8c 100644
--- a/formcycle-adapter/formcycle-adapter-impl/pom.xml
+++ b/formcycle-adapter/formcycle-adapter-impl/pom.xml
@@ -121,9 +121,8 @@
 						<executions>
 							<execution>
 								<id>build-image</id>
-								<phase>install</phase>
 								<goals>
-									<goal>build-image</goal>
+									<goal>build-image-no-fork</goal>
 								</goals>
 							</execution>
 						</executions>
diff --git a/formsolutions-adapter/pom.xml b/formsolutions-adapter/pom.xml
index 4c19a4a9..cd6cb842 100644
--- a/formsolutions-adapter/pom.xml
+++ b/formsolutions-adapter/pom.xml
@@ -195,6 +195,7 @@
 						<artifactId>spring-boot-maven-plugin</artifactId>
 						<executions>
 							<execution>
+								<id>build-image</id>
 								<goals>
 									<goal>build-image-no-fork</goal>
 								</goals>
diff --git a/intelliform-adapter/pom.xml b/intelliform-adapter/pom.xml
index a365d90e..abaf0982 100644
--- a/intelliform-adapter/pom.xml
+++ b/intelliform-adapter/pom.xml
@@ -241,6 +241,7 @@
 						<artifactId>spring-boot-maven-plugin</artifactId>
 						<executions>
 							<execution>
+								<id>build-image</id>
 								<goals>
 									<goal>build-image-no-fork</goal>
 								</goals>
diff --git a/xta-adapter/pom.xml b/xta-adapter/pom.xml
index e350593e..0cab1eed 100644
--- a/xta-adapter/pom.xml
+++ b/xta-adapter/pom.xml
@@ -168,6 +168,7 @@
 			</plugin>
 		</plugins>
 	</build>
+	
 	<profiles>
 		<profile>
 			<id>ci-build</id>
@@ -179,9 +180,8 @@
 						<executions>
 							<execution>
 								<id>build-image</id>
-								<phase>install</phase>
 								<goals>
-									<goal>build-image</goal>
+									<goal>build-image-no-fork</goal>
 								</goals>
 							</execution>
 						</executions>
-- 
GitLab