A custom AEMapplication has a run time dependency to a third party OSGi bundle that is NOT included in out-of-the-box AEM. The third party dependency needs to be available for multiple applications and be upgraded separately from the custom AEM application.
How should a developer make sure that the bundle is installed on all environments?
- Add the dependency to the third party bundle in pom.xml of the project bundle
- Embed the third party bundle in the bundle that depends on it
- Embed the bundle in a content package to have it automatically deployed
- Declare the dependency correctly using a link to the OSGi Bundle Reposirory (OBR)
Reveal Solution Next Question