Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-114168

Add warning if user is override liferay.workspace.product key default value

    Details

      Description

      In order to reduce the amount of confusion that users will run into when adopting or using the new liferay.workspace.product key we need to do the following:

      1) Add a lifecycle logging output if the user overrides a default value in a liferay.workspace.product key. So if they set product key to dxp-7.2-ga1, but then the bundle.url points to a NON-dxp version (or any override), we should output a warning. The wording should be similar to how maven outputs a warning if a child project overrides the plugin configuration that is set in a parent. The output should point to some documentation (Readme) that describes the possible problems.

      2) Add a lifecycle logging output message that checks if the workspace does not have a "liferay.workspace.product" key, and then suggest that they consider using it going forward.

        Attachments

          Activity

            People

            Assignee:
            simon.jiang Simon Jiang
            Reporter:
            gregory.amerson Gregory Amerson
            Engineering Assignee:
            Simon Jiang
            Recent user:
            Brian Chan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master