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

Upgrade bndlib to 4.2.0 in order to properly calculate osgi.ee for embedded dependencies

    XMLWordPrintableJSON

Details

    Description

      The bndlib dependency
      https://github.com/apache/felix/blob/e12e94cb84d99e4613a4a57c3655bc7c6095140c/tools/maven-bundle-plugin/pom.xml#L172-L176 needs to be upgraded from 4.1.0 to 4.2.0 (http://repo1.maven.org/maven2/biz/aQute/bnd/biz.aQute.bndlib/4.2.0/) as in 4.2.0 the following issue is fixed https://github.com/bndtools/bnd/issues/3010 by https://github.com/bndtools/bnd/pull/3015 excluding module-info class from class version in use calculation for Require-Capability osgi.ee for embedded dependencies.

      This will allow to properly use a dependency where its code is compiled for e.g. Java SE 5.0 but the whole build performed on (and also module-info class compiled against) Java SE 7 as in https://gitlab.ow2.org/asm/asm/issues/317870.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            krystian Krystian Nowak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: