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

Preserve referenced packages in Import-Package overrides

    Details

      Description

      Specifying an Import-Package header completely replaces the generated one. You should therefore make sure to include the default list of packages that the module refers to and prepend additional headers to it.

      Jay Lee brought this issue to our attention in https://issues.liferay.com/browse/LRDOCS-7899 :

      Feedback from website user:

      1. article link: https://help.liferay.com/hc/en-us/articles/360018162491-Resolving-Third-Party-Library-Package-Dependencies-**
        1. Comment: " "Import-Package: !foo.bar.baz" replaces the autogenerated one too *"

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support

                    Packages

                    Version Package
                    7.0.x
                    7.1.x
                    7.2.x