Kaustav-Sarkar opened a new pull request, #4489: URL: https://github.com/apache/polaris/pull/4489
This PR introduces automated CI checks to enforce LICENSE and NOTICE compliance for Polaris distributions and Spark bundles. Description: * **Adds a dedicated `license-checks` CI job** in GitHub Actions to validate distribution LICENSE/NOTICE merging and Quarkus license reports independently of other checks. * **Introduces `BundleJarLicenseNoticeValidation`**: A Gradle task that ensures shadow bundle JARs (like the Spark plugin) contain top-level `LICENSE` and `NOTICE` files. * **Introduces `BundleLicenseValidation`**: A Gradle task that automatically verifies that every direct runtime dependency (in `group:artifactId` form) is correctly attributed in the bundle's `BUNDLE-LICENSE` file. This prevents dependency updates from silently slipping past license attribution. * **Applies these checks to the Spark plugin** (`checkBundleLicense`, `checkBundleJarLicenseNotice`), running them automatically as part of the standard `check` task. * **Updates the Spark `BUNDLE-LICENSE`** to correctly attribute the `iceberg-spark-runtime` dependencies. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
