-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.10 DXP FP1, 7.2.X, Master
-
Fix Version/s: 7.2.10 DXP FP3, 7.2.1 CE GA2, 7.2.X, 7.3.10 DXP GA1, Master
-
Component/s: Core Infrastructure
-
Labels:
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
When compiling against the thirdparty (managed through this bom: release.dxp.bom.third.party-7.2.10.fp1-1.pom) library commons-beanutils:commons-beanutils:1.9.2, discovered the portal does not export the correct version number for the dependency.
This prevents the portlet from starting up correct and fails with:
Unresolved requirement: Import-Package: Unresolved requirement: Import-Package: org.apache.commons.beanutils; version="[1.9.0,2.0.0)"_ [Sanitized]
The export package can be seen here:
https://github.com/liferay/liferay-portal/blob/7.2.x/modules/core/portal-bootstrap/system.packages.extra.bnd#L181-L186
We should correct this so that build using our bom files will not fail on deployment.
Workaround is to add the following to you bnd:
Import-Package: org.apache.commons.beanutils.*;version="[1.8.2,2.0.0)", \
*
Thanks Raymond Auge for your help diagnosing the issue.