Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-4014

Using specific versions of JARs that are generally excluded from WABs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 7.0.x
    • Component/s: Core Infrastructure
    • Labels:
      None

      Description

      Portal property module.framework.web.generator.excluded.paths lists JARs that portal already includes (or imports packages from) that are stripped from WABs.

      For example, portal imports the Spring version 4.1.9 packages (see https://github.com/liferay/liferay-portal/blob/7.0.x/modules/core/portal-bootstrap/system.packages.extra.bnd) and therefore excludes their JARs from WABs. It uses a globing pattern to strip them out of WABs. Naming a JAR different from its glob pattern prevents it from being stripped from the WAB. You could for example rename your spring-aop.jar to include its version--spring-aop-3.0.7.RELEASE.jar.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                richard.sezov Rich Sezov
                Reporter:
                james.hinkey James Hinkey
                Subject Matter Expert:
                Raymond Auge
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: