Skip to content

Conversation

@afs
Copy link
Member

@afs afs commented Jan 6, 2026

This PR is a precursor for #3589.

To develop the tooling for converting the source code in the code base to include SPDX-License-Identifier.

The tooling will have to deal with more than just java files (that is, POMs, scripts) and will also need to deal with some amount of variation such as generated files and source included from other places.

As a starting point, I used it to check the existing state of the java files. While RAT checks there is a license, it does not prescript the exact format (e.g line wrap, use of spaces).

This PR is the outcome of regularizing the usual license header.

The PR also includes:

  • one DOS line endings to Unix line ending conversion.
  • Rename XMLChar to a more logical name -- XML10Char (XMLChar is one of the files included from elsewhere, in this case from Xerces).

  • Key commit messages start with the issue number (GH-xxxx)

By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.

@afs afs changed the title GH-3589: Regualrize the format of license headers. GH-3589: Regularize the format of license headers. Jan 6, 2026
@afs afs merged commit c6f8bc1 into apache:main Jan 8, 2026
3 checks passed
@afs afs deleted the clean-licenses branch January 8, 2026 10:24
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.

1 participant