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.
1. cd liferay-k8s2.zip/
2. ./gradlew formatSource
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.