[ 
https://issues.apache.org/jira/browse/CAMEL-22454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Ondrusek updated CAMEL-22454:
----------------------------------
    Description: 
PluginExporter interface 
([code|https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/PluginExporter.java#L29])
 allows to add dependencies. I'd like to use this feature for `export` and 
`run` commands  to make them more user friendly. To achieve this, I need to 
propagate value of parameter `runtime` to this method. (Plugins are stateless, 
so I can't obtain it differently)

Second issue, the `Run` command does not propagate `runtime` value into 
Quarkus|SpringBootExporters classes (in the same way of `export` command does.

  was:
PluginExporter interface 
([code|https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/PluginExporter.java#L29])
 allows to add dependencies. I'd like to use this feature in camel-forage to 
make `export` and `run` commands more user friendly. To achieve this, I need to 
propagate value of parameter `runtime` to this method. (Plugins are stateless, 
so I can't obtain it differently)

Second issue, the `Run` command does not propagate `runtime` value into 
Quarkus|SpringBootExporters classes (in the same way of `export` command does.


> It would be nice to add a parameter "runtime" to camel-jbang's 
> PluginExperter#getDependencies()
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-22454
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22454
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>    Affects Versions: 4.15.0
>            Reporter: Jiri Ondrusek
>            Assignee: Jiri Ondrusek
>            Priority: Major
>
> PluginExporter interface 
> ([code|https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/PluginExporter.java#L29])
>  allows to add dependencies. I'd like to use this feature for `export` and 
> `run` commands  to make them more user friendly. To achieve this, I need to 
> propagate value of parameter `runtime` to this method. (Plugins are 
> stateless, so I can't obtain it differently)
> Second issue, the `Run` command does not propagate `runtime` value into 
> Quarkus|SpringBootExporters classes (in the same way of `export` command does.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to