You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Martin LyKy (Jira)" <ji...@apache.org> on 2024/12/18 08:29:00 UTC
[jira] [Created] (CAMEL-21558) camel-maven-package-plugin broken package name (velocity
Martin LyKy created CAMEL-21558:
-----------------------------------
Summary: 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
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 "org.apache.camel.builder.endpoint.dsl" and the configuration for the plugin
"<endpointFactoriesPackageName>de.unioninvestment.osirisx.technik.osiris.camel.rdbms.builder.dsl</endpointFactoriesPackageName>" is ignored.
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)