ricardozanini commented on code in PR #3165:
URL: 
https://github.com/apache/incubator-kie-tools/pull/3165#discussion_r2116124608


##########
packages/sonataflow-image-common/resources/modules/kogito-maven/common/module.yaml:
##########
@@ -23,6 +23,7 @@ version: "main"
 envs:
   - name: "MAVEN_VERSION"
     description: "The Maven version to setup with this module"
+    value: "3.8.6"

Review Comment:
   This change is unnecessary since we are using MVN from the base ubi-9 image. 
Here's the temp fix until they upgrade MVN in the base image: 
https://github.com/apache/incubator-kie-tools/blob/main/packages/sonataflow-image-common/resources/modules/kogito-maven/common/configure#L34-L42
   
   To fix your problem, thou: 
https://github.com/apache/incubator-kie-tools/blob/main/packages/serverless-logic-web-tools-swf-dev-mode-image/Containerfile#L34
   
   You MUST refrain from use `mvn` directly. Use `MAVEN_CMD` to inherit from 
the base image. See an example here:  
https://github.com/apache/incubator-kie-tools/blob/main/packages/sonataflow-builder-image/resources/modules/sonataflow/builder/runtime/added/build-app.sh#L66
   
   Please open an issue to address this problem.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to