Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1024

Bug generating feature.xml when dependency has no manifest

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      Ubuntu 10.x, JDK6, Maven 3.0.x

      Description

      When using the karaf-maven-plugin and during the feature generation phase if a dependency does not have a manifest the process aborts because it throws an exception thus preventing the KAR from being built. This occurs in the code that generates the wrap prefix I submitted. I have attached a patch that slightly modifies the code to just log a warning that the given artifact doesn't have a manifest and since there is not manifest make the determination that the artifact is also not a bundle since there's no manifest.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              mgardiner Mike Gardiner
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: