Krystian Nowak created FELIX-6081:
-------------------------------------

             Summary: Upgrade bndlib to 4.2.0 in order to properly calculate 
osgi.ee for embedded dependencies
                 Key: FELIX-6081
                 URL: https://issues.apache.org/jira/browse/FELIX-6081
             Project: Felix
          Issue Type: Improvement
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-4.1.0
            Reporter: Krystian Nowak


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].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to