[
https://issues.apache.org/jira/browse/CAMEL-22383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016567#comment-18016567
]
Cameron Fitzwater commented on CAMEL-22383:
-------------------------------------------
??"For yaml dsl it may be removed in the future - its bad practice"??????????
This statement led me to find the source of our issue (application.properties
wasn't being included which contained a property that auto-adds a dependenvcy).
After this, I was able to remove the DEPS lines altogether with YAML DSL.
>From my understanding, and based on your comment, my guess is that the WHY
>question is answered with, because camel jbang should be auto-detecting and
>adding dependencies already.
Thank you. Bad practice adverted.
> fix jbang yaml dsl DEPS syntax
> ------------------------------
>
> Key: CAMEL-22383
> URL: https://issues.apache.org/jira/browse/CAMEL-22383
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Cameron Fitzwater
> Priority: Minor
>
> Currently, when using YAML DSL, the syntax that seems to work for including
> dependencies is:
> #//DEPS camel-http
> #//DEPS camel-jsonpath
> #//DEPS camel:jq
>
> This seems a quirky/hacky.
>
> I didn't find any good documentation on this either, so I had to review the
> code in order to determine what syntax to use (fortunately something did
> work, so listing this as a minor issue).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)