-
Bug
-
Resolution: Unresolved
-
Critical
-
1.36.0
-
None
Problem:
The quarkus conversion of a project generates a pom.xml that has configured the maven community repositories instead of the RH GA maven repository.
Steps to reproduce:
Using the OSL 1.36.0 kn-workflow-plugin do:
1) create a project:
kn workflow create -n maven-repo-issue
2) convert the project to quarkus with:
kn workflow quarkus convert
3) The conversion fails with the following error:
full error:
https://gist.github.com/wmedvede/5ae09a2ef42e974299d58d442778830d
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.068 s
[INFO] Finished at: 2025-07-07T11:02:12+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin com.redhat.quarkus.platform:quarkus-maven-plugin:3.15.4.redhat-00001 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.redhat.quarkus.platform:quarkus-maven-plugin:jar:3.15.4.redhat-00001 (present, but unavailable): com.redhat.quarkus.platform:quarkus-maven-plugin:jar:3.15.4.redhat-00001 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
4) The conversion fails because the generated pom.xml has configured the community repositories instead of the RH GA repository.
In the attached file, I have copied what the kn-workflow-plugin is generating, and what it really must generate for the case of the GA.
- is blocked by
-
SRVLOGIC-738 Kn workflow plugin uses ER1 kogito versioning ( 9.104.0.redhat-00002 ) a ER1 Quarkus versions
-
- ON_DEV
-
- relates to
-
SRVLOGIC-646 It must be possible to specify repos/pluginRepos in kn-plugin-workflow
-
- New
-