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


   > @elainhelen if I may join in this thread, I have a question with regards 
to how you manage to perform `kamel local build xxx.java` as I'm too looking 
for a solution to a use case similar to yours.
   > 
   > I'm using Camel K Client 1.6.0, and when I did a `kamel local build 
--integration-directory test Basic.java`, it is returning an error without 
stack trace.
   > 
   > ```
   > > kamel local build --integration-directory test Basic.java
   > failure while building project: exit status 1
   > ```
   > 
   > Is there anything in particular you have to set up in advance before 
running the above command?
   
   The `local` is performed on your machine, so you must make sure that you 
have all the expected tools required by the build process, ie, maven, jdk, 
quarkus, ... it seems that your error happens when you try to [package the 
application](https://github.com/apache/camel-k/blob/main/pkg/builder/quarkus.go#L191),
 so, likely, you don't have all the required configuration needed to run. 


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


Reply via email to