Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
maven-bundle-plugin-4.1.0
-
None
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.