[
https://issues.apache.org/jira/browse/CAMEL-14503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031608#comment-17031608
]
Claus Ibsen commented on CAMEL-14503:
-------------------------------------
There is the new generate-component plugin to use, and then you need to add the
src/generated to the JAR via that other plugin. But its in the PR for
camel-k-runtime.
> camel-package-maven-plugin:generate fails with NPE for component outside the
> camel source tree
> ----------------------------------------------------------------------------------------------
>
> Key: CAMEL-14503
> URL: https://issues.apache.org/jira/browse/CAMEL-14503
> Project: Camel
> Issue Type: Bug
> Components: tooling
> Reporter: Luca Burgazzoli
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.1.0
>
>
> The mojo camel-package-maven-plugin:generate assumes that components are all
> belonging to the camel source tree so when it is applied to external
> components, it fails with NPE here:
> https://github.com/apache/camel/blob/master/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java#L1230-L1231
--
This message was sent by Atlassian Jira
(v8.3.4#803005)