Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3626

OSGi unresolved requirement when building with Gradle

Details

    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"
      

      Attachments

        Activity

          People

            neil.griffin Neil Griffin
            neil.griffin Neil Griffin
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                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