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

formatSource doesn't generate packageinfo file for exported package

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Dev Tools > Workspace
    • Labels:
      None

      Description

      Steps
      1. Install version 3.0.0 of the workspace plugin to my local m2 repo.
      2. In the workspace's settings.gradle, update the workspace plugin dependency to ...

      classpath group: "com.liferay", name:

      "com.liferay.gradle.plugins.workspace", version: "3.0.0"

      3. Run ./gradlew tasks to pick up the new plugin.
      3. In the modules/k8s2-api/ folder, run{{ ./gradlew formatSource}} on a module that exports a package, but that doesn't have a packageinfo file for it.

      Expected Result: The formatSource task detects the exported package and that there is no packageinfo file for it. The task generates a packageinfo file at src/main/resources/[package path]/packageinfo.

      Actual Result: No packageinfo is generated.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            james.hinkey James Hinkey
            Participants of an Issue:
            Recent user:
            James Hinkey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 10 weeks, 3 days ago

                Packages

                Version Package