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

Bug generating feature.xml when dependency has no manifest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • karaf
    • None
    • 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

        1. NoManifest2.patch
          2 kB
          Mike Gardiner

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: