pilhuhn opened a new issue #2499:
URL: https://github.com/apache/camel-k/issues/2499


   `Kamel run` supports traits via modline or `-t` flag.
   The local build/run fails with them.
   
   Local option should not fail -- especially if the trait is needed for 
in-cluster execution and given via modline
   
   ```
   % kamel version
   Camel K Client 1.5.0
   hrupp@snert cdi % kamel local build c-tower.yml
   Modeline options have been loaded from source files
   Full command: kamel local build c-tower.yml 
--trait=knative.channel-sinks=return-channel 
--dependency=mvn:com.github.pilhuhn:camel-ansible-tower:95bd0a70da 
--dependency=mvn:org.apache.camel.k:camel-k-knative-producer
   Error: unknown flag: --trait
   ```
   
   Same for `kamel local 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