Can I use the Target Platform BOM to include the correct biz.aQute.bndlib version?


  • When using the Target Platform functionality in a Liferay Workspace (to use the dependencies from the target version's BOM) to try to include the biz.aQute.bndlib in a 7.2 dxp-5 custom module, it fails to compile. This used to build without issue in earlier versions of Liferay.
  • The configuration we are using in is:
    compileOnly group: "biz.aQute.bnd", name: "biz.aQute.bndlib"


  • DXP 7.2+
  • Liferay Workspace using Gradle


  • The biz.aQute.bndlib has intentionally been removed from the Liferay BOM (see LPS-95269) -- as such, a version will need to be specified in order to use this artifact.
  • For example:
    compileOnly group: "biz.aQute.bnd", name: "biz.aQute.bndlib", version: "3.5.0"

Additional Information

1 人中有 1 人觉得有帮助