squakez commented on issue #3937:
URL: https://github.com/apache/camel-k/issues/3937#issuecomment-1359293379

   After some debugging I can tell that the Jitpack multimodules works out of 
the box in Camel K. However, there is a little detail, that is, we should use 
`-SNAPSHOT` when using code in branch (tag is used for fixed version, see more 
details in this 
[example](https://github.com/apache/camel-k-examples/tree/main/generic-examples/jitpack#package-another-branch-100)).
   
   It turns out that, for example, the following integration works correctly:
   ```
   kamel run Jitpack.java -d github:squakez/samplejp/multimodules-SNAPSHOT --dev
   ```
   However, when testing your application, I still can see it fails with the 
same error, even using `-d github:kiegroup/yard/kamelet-SNAPSHOT`. I have tried 
to jitpack locally and it seems it manages to compile correctly, downloading 
locally the expected dependencies. At this stage I wonder if the error is 
related to some Quarkus removal of classes that are later required at build 
time.


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to