Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14503

camel-package-maven-plugin:generate fails with NPE for component outside the camel source tree

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • tooling
    • None
    • Unknown

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              lb Luca Burgazzoli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: