Skip to content

Name the top-level license files LICENSE and NOTICE - #285

Merged
mraible merged 1 commit into
apache:masterfrom
mraible:license-notice-filenames
Nov 15, 2026
Merged

mraible merged 1 commit into
apache:masterfrom
mraible:license-notice-filenames

Conversation

@mraible

@mraible mraible commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Renames the top-level LICENSE.txt and NOTICE.txt to LICENSE and NOTICE, and updates assembly-release/src/main/assembly/source.xml to match.

Apache Trusted Releases blocked the 7.0.0 candidate's source archives with "No LICENSE file found" and "No NOTICE file found". Its source check (atr/tasks/checks/license.py) looks for root files named exactly LICENSE and NOTICE, while its binary check also accepts the .txt names.

This is deliberate on ATR's side, not a bug: in apache/tooling-trusted-releases#877, allowing LICENSE.txt and NOTICE.txt in source packages was proposed and turned down, and only the binary check was relaxed (apache/tooling-trusted-releases@554490a06). ATR reads the release policy's requirement that a source package have LICENSE and NOTICE at its root as those exact names, and no project setting changes that short of turning off its license file check.

  • The binary archives and the war still get LICENSE.txt and NOTICE.txt from binary-includes/, which ATR accepts, so the install guide's description of the binary layout stays right.
  • The renamed files pass ATR's content checks: LICENSE matches its Apache 2.0 text and NOTICE has the product header, copyright and attribution lines.
  • mvn apache-rat:check passes.

Once this merges I'll move the roller-7.0.0-rc1 tag to the merge commit, rebuild and re-sign, and upload a new ATR revision. No vote has started yet.

Apache Trusted Releases checks a source archive's root for files named exactly LICENSE and NOTICE, and blocks a candidate without them. The binary archives and the war keep LICENSE.txt and NOTICE.txt from binary-includes, which ATR accepts there.
@mraible
mraible requested a review from snoopdave November 15, 2026 22:24

@snoopdave snoopdave left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐝

@mraible
mraible merged commit a938c9b into apache:master Nov 15, 2026
9 checks passed
@mraible
mraible deleted the license-notice-filenames branch November 15, 2026 22:33
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.

2 participants