From a19fc2cb7d8e585db3b8365a8251a625a263d3f2 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
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 b436b5b26..ee86ee8ca 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 4c19a4a93..cd6cb8421 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 a365d90e3..abaf0982a 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 e350593e7..0cab1eed3 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