Skip to content

Issue #455: Automatize managing LICENSE and NOTICE files for release artifacts#456

Open
reckart wants to merge 1 commit into
mainfrom
refactoring/455-Automatize-managing-LICENSE-and-NOTICE-files-for-release-artifacts
Open

Issue #455: Automatize managing LICENSE and NOTICE files for release artifacts#456
reckart wants to merge 1 commit into
mainfrom
refactoring/455-Automatize-managing-LICENSE-and-NOTICE-files-for-release-artifacts

Conversation

@reckart

@reckart reckart commented Jun 17, 2026

Copy link
Copy Markdown
Member

What's in the PR

  • Configure exec-maven-plugin in pom.xml to run CheckLicenseNotices during prepare-package phase to auto-generate license files
  • Add fileSet in bin.xml to include generated licenses/ directory in binary distribution
  • Remove manually-maintained third-party license text from LICENSE.txt (now auto-generated from dependency JARs)
  • Update NOTICE.md copyright year for Apache Commons IO 2002-2025 -> 2002-2026
  • Update NOTICE.md copyright year for Spring Framework (c) 2002-2025 -> 2002-2026
  • Update Jackson JSON processor version in NOTICE.md from 2.20.0 -> 2.21.1
  • Add verified-notice-deps.txt to track verified dependency versions
  • Exclude verified-notice-deps.txt from ASF license header requirement in pom.xml

How to test manually

  • Check if the LICENSE and NOTICE files are properly generated during builds and contain the right information

Automatic testing

  • PR adds/updates unit tests

Documentation

  • PR adds/updates documentation

Organizational

  • PR adds/updates dependencies.
    Only dependencies under approved licenses are allowed. LICENSE and NOTICE files in the respective modules where dependencies have been added as well as in the project root have been updated.

@reckart reckart self-assigned this Jun 17, 2026
@reckart reckart added the ⚙️ Refactoring Improvement for development or maintainability label Jun 17, 2026
Comment thread src/main/bin_distr_license_notices/CheckLicenseNotices.java Fixed
@reckart reckart force-pushed the refactoring/455-Automatize-managing-LICENSE-and-NOTICE-files-for-release-artifacts branch from 80413f4 to 18a0c60 Compare June 17, 2026 14:04
@reckart reckart changed the title - Add CheckLicenseNotices.java utility to extract and verify third-party LICENSE/NOTICE files from bundled dependencies Issue #455: Automatize managing LICENSE and NOTICE files for release artifacts Jun 17, 2026
…artifacts

- Add CheckLicenseNotices.java utility to extract and verify third-party LICENSE/NOTICE files from bundled dependencies
- Configure exec-maven-plugin in pom.xml to run CheckLicenseNotices during prepare-package phase to auto-generate license files
- Add fileSet in bin.xml to include generated licenses/ directory in binary distribution
- Remove manually-maintained third-party license text from LICENSE.txt (now auto-generated from dependency JARs)
- Update NOTICE.md copyright year for Apache Commons IO 2002-2025 -> 2002-2026
- Update NOTICE.md copyright year for Spring Framework (c) 2002-2025 -> 2002-2026
- Update Jackson JSON processor version in NOTICE.md from 2.20.0 -> 2.21.1
- Add verified-notice-deps.txt to track verified dependency versions
- Exclude verified-notice-deps.txt from ASF license header requirement in pom.xml
@reckart reckart force-pushed the refactoring/455-Automatize-managing-LICENSE-and-NOTICE-files-for-release-artifacts branch from 18a0c60 to ebe5887 Compare June 17, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️ Refactoring Improvement for development or maintainability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants