Run The CamelK Code
waytoharish opened this issue · 4 comments
waytoharish commented
Hi,
How could i run the maven project from the CamelK in the getting Started-
To run Java Class or groovy we use Kamel Client-
kamel run helloworld.groovy
kameshsampath commented
the maven project was created just to help you with the IDE support when you develop. You actually dont use that when deploying camel-k integrations. All camel-k integrations are just single files.
waytoharish commented
So if we have a Dependent Java Files then how can we run that. For example-
Controller Class- Service class- Data Service all have Class1--> Class2--> Class3
Then how to run all these
kameshsampath commented
Make them as dependency and add them as jar via —dependency. Note this has to be in a maven repo that is configured with camel-k. Camel-k maven settings is same namespace as you installed camel. Its a configmap called “camel-k-maven-settings”
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: waytoharish <notifications@github.com>
Sent: Sunday, January 19, 2020 4:31:46 AM
To: redhat-developer-demos/knative-tutorial <knative-tutorial@noreply.github.com>
Cc: Kamesh Sampath <kamesh.sampath@hotmail.com>; Comment <comment@noreply.github.com>
Subject: Re: [redhat-developer-demos/knative-tutorial] Run The CamelK Code (#200)
So if we have a Dependent Java Files then how can we run that. For example-
Controller Class- Service class- Data Service all have Class1--> Class2--> Class3
Then how to run all these
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fredhat-developer-demos%2Fknative-tutorial%2Fissues%2F200%3Femail_source%3Dnotifications%26email_token%3DAAHHMIMMLBF7MO6MOKMRKNLQ6OC5VA5CNFSM4KH4TZOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJKD4BQ%23issuecomment-575946246&data=02%7C01%7C%7C7872bf9d8e804d60e72c08d79c6a64d2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637149853081679945&sdata=bBWoyNhRUqYMnC7Zrg3VEUnUjokZR795eInlDGozeGc%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHHMIPQ7WOALPEMVLMRUOTQ6OC5VANCNFSM4KH4TZOA&data=02%7C01%7C%7C7872bf9d8e804d60e72c08d79c6a64d2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637149853081679945&sdata=%2BGpRcZ8lNKQuzI9fZVKPXoHxyphN4WcIPMRaQnqfmz0%3D&reserved=0>.
waytoharish commented
Ohh So i can not execute Spring-boot or quarkus based jar directly from Kamel ??