Skip to content

fix: include license files in release source jars#2250

Merged
zeitlinger merged 1 commit into
prometheus:mainfrom
arnabnandy7:fix/prometheus-licenses
Jun 25, 2026
Merged

fix: include license files in release source jars#2250
zeitlinger merged 1 commit into
prometheus:mainfrom
arnabnandy7:fix/prometheus-licenses

Conversation

@arnabnandy7

Copy link
Copy Markdown
Contributor

Summary

  • Include repo-level LICENSE and NOTICE files as META-INF resources during release builds.
  • Ensures generated *-sources.jar artifacts contain license information for legal/compliance scanners.

Verification

  • Confirmed affected source jars include:
    • META-INF/LICENSE
    • META-INF/NOTICE
  • Ran targeted module tests:
    • prometheus-metrics-config: 59 tests passed

Fixes #2216

Signed-off-by: Arnab Nandy <arnab_nandy7@yahoo.com>
@arnabnandy7 arnabnandy7 force-pushed the fix/prometheus-licenses branch from 888378f to c4ed1f6 Compare June 24, 2026 18:43
@zeitlinger

Copy link
Copy Markdown
Member

thanks for the contribution!

@zeitlinger zeitlinger enabled auto-merge (squash) June 25, 2026 11:55
@zeitlinger zeitlinger merged commit 08cf925 into prometheus:main Jun 25, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing license info for io.prometheus packages in Maven Central

2 participants