Details

      Description

      A Gradle task should be available that checks a module's packageinfo files against its Export-Package header. The task should report and handle ...

      1. packages that are exported but missing a packageinfo file. The task should create a packageinfo file.
      2. packages that have packageinfo files but that are not exported.

      Note, the formatSource task in liferay-portal does these checks, but Workspace's formatSource task does not.

      Example,

      1. cd liferay-k8s2.zip/
      2. ./gradlew formatSource

      Expected result:
      1. A message prints that com.acme.k8s2.api module/bundle exports com.acme.k8s2.greeting but has no src/main/resources/<package>/packageinfo file.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            james.hinkey James Hinkey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package