[
https://issues.apache.org/jira/browse/CAMEL-14503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031513#comment-17031513
]
Claus Ibsen commented on CAMEL-14503:
-------------------------------------
Okay we now have that generate-component goal instead, we can then use it to
turn on a flag on the endpoint mojo so it knows its not camel itself, and can
act differently.
For those standard options we could copy over the javadoc description instead
of loading from source, then we dont need any trick to find the camel-core
source code (eg to download -sources JAR)
> 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)