The GitHub Actions job "Build" on texera.git/chore/dist-license-packaging has 
succeeded.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
fd113cb9cc16fb89e4ca7a20849e797fc78aa15e / Jiadong Bai 
<[email protected]>
chore(build): ship LICENSE-binary, NOTICE-binary, and licenses/ in dist zips

The sbt dist zips currently ship the repo-root LICENSE and NOTICE at the
top level. For a binary distribution, ASF policy requires a LICENSE that
enumerates every bundled third-party dependency, a matching NOTICE, and
the full text of every non-Apache-2.0 license bundled in.

Plumb those files through the sbt-native-packager Universal mappings:

- project/AddMetaInfLicenseFiles.scala: replace `distSettings` (which
  copied the repo-root LICENSE/NOTICE into the zip) with a
  `distMappings(existing, rootDir)` helper that maps LICENSE-binary ->
  LICENSE, NOTICE-binary -> NOTICE, DISCLAIMER-WIP -> DISCLAIMER-WIP (if
  present), and every licenses/*.txt into a top-level licenses/ dir of
  the zip. Add `require(...)` preconditions so the build fails early if
  any compliance file is missing.

- Root build.sbt: drop the `asfDistLicensingSettings` shortcut; each
  dist-producing module now invokes `distMappings` inline.

- access-control-service, amber, config-service,
  computing-unit-managing-service, file-service,
  workflow-compiling-service: each adds
  `Universal / mappings := AddMetaInfLicenseFiles.distMappings(...)`
  after its `enablePlugins(JavaAppPackaging)` line.

- Add stub LICENSE-binary (Apache 2.0 text with a placeholder note) and
  stub NOTICE-binary so the new require() checks pass. The full
  third-party manifest is tracked in #4131 and will replace the stubs
  in a follow-up change.

Generated-by: Claude Code (Claude Opus 4.7)

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/24769538618

With regards,
GitHub Actions via GitBox

Reply via email to