Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-668

Commons-Compress is missing OSGI export packages for some Java packages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.26.0
    • 1.26.1
    • None
    • None

    Description

      Trying to use Commons-Compress 1.26.0 produces an OSGI wiring issue for missing packages, specifically the package osgi.wiring.package=org.apache.commons.compress.archivers.tar is not present in the export packages there may be more missing packages we have not found, but this is one that is problematic for us.

      This is an excerpt from the bundle manifest for Commons-Compress 1.26.0 and as you can see, for the export packages, package osgi.wiring.package=org.apache.commons.compress.archivers.tar is missing.

      Manifest Output
      Manifest-Version: 1.0
      ...
      Implementation-Version: 1.26.0
      Main-Class: org.apache.commons.compress.archivers.Lister
      Specification-Title: Apache Commons Compress
      Specification-Vendor: The Apache Software Foundation
      Specification-Version: 1.26.0
      X-Compile-Source-JDK: 1.8
      X-Compile-Target-JDK: 1.8
      ...
      Export-Package: org.apache.commons.compress;version="1.26.0",org.apache.
       commons.compress.archivers;version="1.26.0",org.apache.commons.compress
       .archivers.ar;version="1.26.0",org.apache.commons.compress.archivers.ar
       j;version="1.26.0",org.apache.commons.compress.archivers.cpio;version="
       1.26.0",org.apache.commons.compress.archivers.dump;version="1.26.0",org
       .apache.commons.compress.archivers.examples;version="1.26.0",org.apache
       .commons.compress.archivers.jar;version="1.26.0",org.apache.commons.com
       press.archivers.sevenz;version="1.26.0",org.apache.commons.compress.arc
       hivers.tar;version="1.26.0",org.apache.commons.compress.archivers.zip;v
       ersion="1.26.0",org.apache.commons.compress.changes;version="1.26.0",or
       g.apache.commons.compress.compressors;version="1.26.0",org.apache.commo
       ns.compress.compressors.brotli;version="1.26.0",org.apache.commons.comp
       ress.compressors.bzip2;version="1.26.0",org.apache.commons.compress.com
       pressors.deflate;version="1.26.0",org.apache.commons.compress.compresso
       rs.deflate64;version="1.26.0",org.apache.commons.compress.compressors.g
       zip;version="1.26.0",org.apache.commons.compress.compressors.lz4;versio
       n="1.26.0",org.apache.commons.compress.compressors.lz77support;version=
       "1.26.0",org.apache.commons.compress.compressors.lzma;version="1.26.0",
       org.apache.commons.compress.compressors.lzw;version="1.26.0",org.apache
       .commons.compress.compressors.pack200;version="1.26.0",org.apache.commo
       ns.compress.compressors.snappy;version="1.26.0",org.apache.commons.comp
       ress.compressors.xz;version="1.26.0",org.apache.commons.compress.compre
       ssors.z;version="1.26.0",org.apache.commons.compress.compressors.zstand
       ard;version="1.26.0",org.apache.commons.compress.harmony;version="1.26.
       0",org.apache.commons.compress.harmony.archive.internal.nls;version="1.
       26.0",org.apache.commons.compress.harmony.pack200;version="1.26.0",org.
       apache.commons.compress.harmony.unpack200;version="1.26.0",org.apache.c
       ommons.compress.harmony.unpack200.bytecode;version="1.26.0",org.apache.
       commons.compress.harmony.unpack200.bytecode.forms;version="1.26.0",org.
       apache.commons.compress.java.util.jar;version="1.26.0",org.apache.commo
       ns.compress.parallel;version="1.26.0",org.apache.commons.compress.utils
       ;version="1.26.0"
      ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevon Stevon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: