Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
adf-archetype-5.1.0, bootsfaces-archetype-5.1.0, butterfaces-archetype-5.1.0, icefaces-archetype-5.1.0, jsf-archetype-5.1.0, primefaces-archetype-5.1.0, richfaces-archetype-5.1.0, bootsfaces-archetype-6.1.0, butterfaces-archetype-6.1.0, icefaces-archetype-6.1.0, jsf-archetype-6.1.0, primefaces-archetype-6.1.0, richfaces-archetype-6.1.0, adf-archetype-6.1.0
-
bootsfaces-archetype-5.1.1, bootsfaces-archetype-6.1.1, butterfaces-archetype-5.1.1, butterfaces-archetype-6.1.1, icefaces-archetype-5.1.1, icefaces-archetype-6.1.1, jsf-archetype-5.1.1, jsf-archetype-6.1.1, primefaces-archetype-5.1.1, primefaces-archetype-6.1.1, richfaces-archetype-5.1.1, richfaces-archetype-6.1.1
-
None
Description
Problem Background
As reported in the liferay.dev question titled Transitive Dependency and a blog post titled Enabling JSF CDI portlet for Gradle Build, building Liferay Faces archetypes with Gradle can cause the following error on deployment:
Unresolved requirement: Import-Package: com.ibm.uvm.tools
Solution
The solution would be to add the following to liferay-plugin-package.properties:
Import-Package: "com.ibm.uvm.tools";resolution:="optional"