Skip to content

Binary dist zips ship source-tree LICENSE / NOTICE instead of binary-specific files #4448

Closed

Description

@bobbai00

What happened?

sbt dist zips ship the source-tree LICENSE and NOTICE at the top level. For an Apache binary distribution, the top-level files must enumerate every bundled third-party dependency (LICENSE-binary) and carry the required upstream attribution (NOTICE-binary), plus the full text of every non-Apache-2.0 license under a top-level licenses/ directory.

How to reproduce?

  1. sbt 'AccessControlService/dist'
  2. Unzip access-control-service/target/universal/access-control-service-*.zip.
  3. Top-level LICENSE is the source-tree file; no LICENSE-binary, no licenses/.

Version

1.1.0-incubating (Pre-release/Master)

Commit Hash (Optional)

ef66364

Proposed fix

Route LICENSE-binary, NOTICE-binary, DISCLAIMER-WIP (optional), and every licenses/*.txt through sbt-native-packager's Universal mappings for each dist-producing module.

Was this authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 4.7)

Activity

  1. self-assigned this
    on Apr 22, 2026
  2. added a commit that references this issue on Apr 29, 2026
    92affb5
  3. added a commit that references this issue on Jun 22, 2026
    f4b5430
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions