This is an automated email from the ASF dual-hosted git repository.

ricardozanini pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 18e1cc66925 [sonataflow] Facilitate the swf builder image quarkus 
version override on demand (#3485)
18e1cc66925 is described below

commit 18e1cc66925b03ca868bf84f4e42ce2578dbb79e
Author: Walter Medvedeo <[email protected]>
AuthorDate: Thu Mar 5 17:07:48 2026 +0100

    [sonataflow] Facilitate the swf builder image quarkus version override on 
demand (#3485)
---
 .../resources/modules/kogito-project-versions/module.yaml            | 3 +++
 .../modules/sonataflow/common/scripts/added/quarkus-mvn-plugin.sh    | 5 +++++
 2 files changed, 8 insertions(+)

diff --git 
a/packages/sonataflow-image-common/resources/modules/kogito-project-versions/module.yaml
 
b/packages/sonataflow-image-common/resources/modules/kogito-project-versions/module.yaml
index 61896281975..e6e54ec51fd 100644
--- 
a/packages/sonataflow-image-common/resources/modules/kogito-project-versions/module.yaml
+++ 
b/packages/sonataflow-image-common/resources/modules/kogito-project-versions/module.yaml
@@ -31,6 +31,9 @@ envs:
   - name: "QUARKUS_PLATFORM_VERSION"
     value: "### SET ME DURING BUILD PROCESS ###"
     description: Defines the Quarkus Platform version to be used by the 
builder images. Not intended to be changed by end user.
+  - name: "QUARKUS_VERSION"
+    value: "### SET ME DURING BUILD PROCESS ###"
+    description: Defines the Quarkus version to be used by the builder images 
dependencies in cases where QUARKUS_PLATFORM_VERSION needs to be overridden. 
Not intended to be changed by end user.
   - name: "SONATAFLOW_QUARKUS_DEVUI_VERSION"
     value: "### SET ME DURING BUILD PROCESS ###"
     description: Defines the SonataFlow Quarkus Dev UI version to be used by 
the devmode image. Not intended to be changed by end user.
diff --git 
a/packages/sonataflow-image-common/resources/modules/sonataflow/common/scripts/added/quarkus-mvn-plugin.sh
 
b/packages/sonataflow-image-common/resources/modules/sonataflow/common/scripts/added/quarkus-mvn-plugin.sh
index 54c2209d951..80b861e0b1a 100644
--- 
a/packages/sonataflow-image-common/resources/modules/sonataflow/common/scripts/added/quarkus-mvn-plugin.sh
+++ 
b/packages/sonataflow-image-common/resources/modules/sonataflow/common/scripts/added/quarkus-mvn-plugin.sh
@@ -27,6 +27,11 @@ set -e
 quarkus_version="${QUARKUS_PLATFORM_VERSION}"
 kogito_version="${KOGITO_VERSION}"
 
+# Consider a potential override
+if [[ -n "${QUARKUS_VERSION}" && "${QUARKUS_VERSION}" != \#\#\#* ]]; then
+  quarkus_version="${QUARKUS_VERSION}"
+fi
+
 # shellcheck source=/dev/null
 source "${KOGITO_HOME}"/launch/logging.sh
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to