[ https://issues.apache.org/jira/browse/CAMEL-21558 ]


    Martin LyKy deleted comment on CAMEL-21558:
    -------------------------------------

was (Author: JIRAUSER300758):
PR: [CAMEL-21558: Add missing package context for Static Endpoint DSL 
Generation by Malyky · Pull Request #16613 · apache/camel · 
GitHub|https://github.com/apache/camel/pull/16613]

> camel-maven-package-plugin broken package name (velocity
> --------------------------------------------------------
>
>                 Key: CAMEL-21558
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21558
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 4.8.1
>            Reporter: Martin LyKy
>            Priority: Trivial
>              Labels: maven-package, tooling
>
> The Plugin camel-maven-package-plugin generates the Static endpoint DSL (e.g. 
> goal generate-endpoint-dsl).
>  
> When using this plugin outside of camel (for own camel components), the 
> packages from these generated classses are hardcoded and always 
> {code:java}
> org.apache.camel.builder.endpoint.dsl{code}
> and the configuration for the plugin  is ignored:
> {code:java}
> <endpointFactoriesPackageName>de.unioninvestment.osirisx.technik.osiris.camel.rdbms.builder.dsl</endpointFactoriesPackageName>{code}
> The Problem is that the package is hardcoded in the templates 
> e.g.
> [camel/tooling/maven/camel-package-maven-plugin/src/main/resources/velocity/endpoint-static-builders.vm
>  at main · apache/camel · 
> GitHub|https://github.com/apache/camel/blob/main/tooling/maven/camel-package-maven-plugin/src/main/resources/velocity/endpoint-static-builders.vm#L36]



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

Reply via email to