Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5527

Bundle plugin Embed-Dependency complains about class files in META-INF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-bundle-plugin-3.2.0
    • maven-bundle-plugin-3.4.0
    • Maven Bundle Plugin

    Description

      As of Java 9, it's no longer a mistake to have included class files in the META-INF directory of a bundle. However, if the Embed-Dependency instruction is used to pack the contents of a jar file into a bundle, and the original jar file happened to have class files in META-INF, the execution fails with an error.

      A repro case is included in the following repository:

      https://github.com/io7m/maven-bundle-plugin-bug-20170207

      Just "mvn clean package".

      Attachments

        Issue Links

          Activity

            People

              nbartlett Neil Bartlett
              io7m Mark Raynsford
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: