fantonangeli commented on code in PR #3165:
URL:
https://github.com/apache/incubator-kie-tools/pull/3165#discussion_r2116229431
##########
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:
@ricardozanini `$MAVEN_CMD` points to `/usr/share/maven/bin/mvnw` . I
verified with this last update `$MAVEN_CMD -v` return `3.8.6` but in
`serverless-logic-web-tools-swf-dev-mode-image` I'm having this issue:
```
#10 [6/6] RUN chown kogito /home/kogito/.m2 && rm -rf src/test/ &&
"/usr/share/maven/bin/mvnw" clean package quarkus:go-offline -B -s
/home/kogito/.m2/settings.xml -Dmaven.test.skip
-Dmaven.repo.local=/home/kogito/.m2/repository -Dquarkus-profiles=build,dev
&& chmod -R 775 /home/kogito && mkdir -p -m 777 /tmp/app
#10 0.901 [INFO] Scanning for projects...
#10 1.064 [INFO] Downloading from kie-tools--maven-m2-repo-via-http-allowed:
http://172.17.0.3/org/apache/apache/33/apache-33.pom
#10 1.111 [INFO] Downloaded from kie-tools--maven-m2-repo-via-http-allowed:
http://172.17.0.3/org/apache/apache/33/apache-33.pom (24 kB at 494 kB/s)
#10 1.141 [INFO] Downloading from kie-tools--maven-m2-repo-via-http-allowed:
http://172.17.0.3/io/quarkus/quarkus-maven-plugin/$%7Bversion.quarkus%7D/quarkus-maven-plugin-$%7Bversion.quarkus%7D.pom
#10 1.146 [INFO] Downloading from central:
https://repo.maven.apache.org/maven2/io/quarkus/quarkus-maven-plugin/$%7Bversion.quarkus%7D/quarkus-maven-plugin-$%7Bversion.quarkus%7D.pom
#10 1.413 [WARNING] The POM for
io.quarkus:quarkus-maven-plugin:jar:${version.quarkus} is missing, no
dependency information available
#10 1.419 [INFO] Downloading from kie-tools--maven-m2-repo-via-http-allowed:
http://172.17.0.3/io/quarkus/quarkus-maven-plugin/$%7Bversion.quarkus%7D/quarkus-maven-plugin-$%7Bversion.quarkus%7D.jar
#10 1.419 [INFO] Downloading from kie-tools--maven-m2-repo-via-http-allowed:
http://172.17.0.3/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
#10 1.423 [INFO] Downloaded from kie-tools--maven-m2-repo-via-http-allowed:
http://172.17.0.3/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
(169 kB at 42 MB/s)
#10 1.426 [INFO] Downloading from central:
https://repo.maven.apache.org/maven2/io/quarkus/quarkus-maven-plugin/$%7Bversion.quarkus%7D/quarkus-maven-plugin-$%7Bversion.quarkus%7D.jar
#10 1.670 [INFO] Downloading from kie-tools--maven-m2-repo-via-http-allowed:
http://172.17.0.3/io/quarkus/quarkus-bom/$%7Bversion.quarkus%7D/quarkus-bom-$%7Bversion.quarkus%7D.pom
#10 1.673 [INFO] Downloading from central:
https://repo.maven.apache.org/maven2/io/quarkus/quarkus-bom/$%7Bversion.quarkus%7D/quarkus-bom-$%7Bversion.quarkus%7D.pom
#10 1.707 [INFO] Downloading from kie-tools--maven-m2-repo-via-http-allowed:
http://172.17.0.3/org/kie/kogito/kogito-bom/$%7Bversion.org.kie.kogito%7D/kogito-bom-$%7Bversion.org.kie.kogito%7D.pom
#10 1.709 [INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-bom/$%7Bversion.org.kie.kogito%7D/kogito-bom-$%7Bversion.org.kie.kogito%7D.pom
#10 1.742 [INFO] Downloading from kie-tools--maven-m2-repo-via-http-allowed:
http://172.17.0.3/org/apache/kie/sonataflow/sonataflow-quarkus-devui-bom/$%7Brevision%7D/sonataflow-quarkus-devui-bom-$%7Brevision%7D.pom
#10 1.744 [INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/apache/kie/sonataflow/sonataflow-quarkus-devui-bom/$%7Brevision%7D/sonataflow-quarkus-devui-bom-$%7Brevision%7D.pom
#10 1.777 [ERROR] [ERROR] Some problems were encountered while processing
the POMs:
#10 1.777 [ERROR] Unresolveable build extension: Plugin
io.quarkus:quarkus-maven-plugin:${version.quarkus} or one of its dependencies
could not be resolved: Could not find artifact
io.quarkus:quarkus-maven-plugin:jar:${version.quarkus} in
kie-tools--maven-m2-repo-via-http-allowed (http://172.17.0.3) @
#10 1.777 [ERROR] Non-resolvable import POM: Could not find artifact
io.quarkus:quarkus-bom:pom:${version.quarkus} in
kie-tools--maven-m2-repo-via-http-allowed (http://172.17.0.3) @ line 55, column
19
#10 1.777 [ERROR] Non-resolvable import POM: Could not find artifact
org.kie.kogito:kogito-bom:pom:${version.org.kie.kogito} in
kie-tools--maven-m2-repo-via-http-allowed (http://172.17.0.3) @ line 62, column
19
#10 1.777 [ERROR] Non-resolvable import POM: Could not find artifact
org.apache.kie.sonataflow:sonataflow-quarkus-devui-bom:pom:${revision} in
kie-tools--maven-m2-repo-via-http-allowed (http://172.17.0.3) @ line 154,
column 23
#10 1.777 [ERROR] 'dependencies.dependency.version' for
io.quarkus:quarkus-smallrye-openapi:jar is missing. @ line 73, column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
io.quarkus:quarkus-resteasy-jackson:jar is missing. @ line 77, column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
io.quarkus:quarkus-arc:jar is missing. @ line 81, column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
io.quarkus:quarkus-smallrye-health:jar is missing. @ line 85, column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
io.quarkus:quarkus-kubernetes:jar is missing. @ line 89, column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
org.apache.kie.sonataflow:sonataflow-quarkus:jar is missing. @ line 93, column
17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
org.kie.kogito:kogito-serverless-workflow-builder:jar is missing. @ line 97,
column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
org.kie:kie-addons-quarkus-messaging:jar is missing. @ line 101, column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
org.kie:kie-addons-quarkus-knative-eventing:jar is missing. @ line 105, column
17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
org.kie:kogito-addons-quarkus-data-index-inmemory:jar is missing. @ line 109,
column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
org.kie:kie-addons-quarkus-source-files:jar is missing. @ line 113, column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
org.kie:kogito-addons-quarkus-jobs-service-embedded:jar is missing. @ line 117,
column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
io.quarkus:quarkus-junit5:jar is missing. @ line 136, column 17
#10 1.777 [ERROR] 'dependencies.dependency.version' for
org.apache.kie.sonataflow:sonataflow-quarkus-devui:jar is missing. @ line 164,
column 21
#10 1.777 [ERROR] 'build.plugins.plugin.version' for
io.quarkus:quarkus-maven-plugin must be a valid version but is
'${version.quarkus}'. @ line 201, column 18
```
--
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]