Legacy Knowledge Base
Published Jul. 2, 2025

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

Written By

Isaac Wilson

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • 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 gradle.properties is:
    compileOnly group: "biz.aQute.bnd", name: "biz.aQute.bndlib"

Environment

  • DXP 7.2+
  • Liferay Workspace using Gradle

Resolution

  • 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

Did this article resolve your issue ?

Legacy Knowledge Base