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

UpdateReadmeMojo fails when executed outside the camel tree

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.7.0
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The UpdateReadmeMojo fails with NPE when executed outside the camel tree, as example when running for the camel-k specific components.

      This is because there's no check on the presence of the camel-core directory here https://github.com/apache/camel/blob/master/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java#L207

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lb Luca Burgazzoli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: