treblereel opened a new issue, #2024:
URL: https://github.com/apache/incubator-kie-issues/issues/2024

   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. 
   
   [pom.xml](https://github.com/secure/attachment/13448710/13448710_pom.xml)


-- 
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