Hi all,

Following the recent discussion about dependency findings and VEX [1], I'd
like to propose publishing SBOMs for Polaris release artifacts and updating
our dependency-license checks.
I've opened an illustrative draft PR [6021] to make the proposal concrete.
The license-check migration, SBOM publication and VEX link are separate
commits.

The initial scope would be CycloneDX JSON sidecars for the binary ZIP/TAR
distributions, covering server and admin, and for each Spark bundle JAR.
The documents identify the actual release artifacts by SHA-256 and would be
signed and published alongside them.
Spark SBOMs would also be attached to the existing Maven publications.
For server/admin, the implementation reuses Quarkus-generated inventories;
for Spark, it uses the official CycloneDX Gradle plugin and the dependency
inputs actually selected by Shadow.
Container-image SBOMs would be a separate follow-up.

The related build change replaces the JK1 license-report plugin with
Licensee [3].
The motivation is configuration-cache support and simpler shared policy
configuration.
Licensee handles Maven license metadata and explicit license/URL/dependency
allowances, while Polaris keeps the checks connecting packaged dependencies
to attribution markers and delivered LICENSE/NOTICE files.
The attribution check connects the policy results to the components
selected for packaging.

The draft removes the old license-report ZIP; the packaged LICENSE and
NOTICE files remain.
Is anyone consuming that report ZIP, or relying on its particular format?

The SBOMs would also link to the mutable VEX feed proposed in PR [6001],
allowing assessments to evolve without regenerating signed release
inventories.
That link provides discovery; the product and release scope still needs to
line up with the VEX work.
This proposal doesn't change the assessments themselves.

Does this publication scope and the choice of Licensee make sense?
I'd appreciate feedback on the release artifacts and formats, and on any
consumers we should account for before replacing the existing reports.

Thanks,
Robert

[1] https://lists.apache.org/thread.html/jkv11728rj1ytbql7ykjj9o9v8m4bdts
[6021] https://github.com/apache/polaris/pull/6021
[3] https://github.com/cashapp/licensee
[6001] https://github.com/apache/polaris/pull/6001

Reply via email to