You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (Jira)" <ji...@apache.org> on 2020/02/06 10:29:00 UTC

[jira] [Comment Edited] (CAMEL-14503) camel-package-maven-plugin:generate fails with NPE for component outside the camel source tree

    [ https://issues.apache.org/jira/browse/CAMEL-14503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031438#comment-17031438 ] 

Luca Burgazzoli edited comment on CAMEL-14503 at 2/6/20 10:28 AM:
------------------------------------------------------------------

Not sure if camel-core is really needed maybe we just need to assume that if we do not find camel-core we are not in the camel repo so we should follow a different path


was (Author: lb):
Not sure if camel-core is really needed maybe we just need to assume that if we do not faind camel-core we are not in the camel repo so we should follow a different path

> 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
>            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)