Skip to content

chore(deps): update dependency org.codehaus.mojo:license-maven-plugin to v2.9.0 - #971

Merged
jonesbusy merged 1 commit into
mainfrom
renovate/maven-license-plugin.version
Nov 13, 2026
Merged

jonesbusy merged 1 commit into
mainfrom
renovate/maven-license-plugin.version

Conversation

@renovate

@renovate renovate Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
org.codehaus.mojo:license-maven-plugin (source) 2.8.0 → 2.9.0 age confidence

Release Notes

mojohaus/license-maven-plugin (org.codehaus.mojo:license-maven-plugin)

v2.9.0

Compare Source

License Maven Plugin 2.9.0 caches downloaded license texts between builds, adds name-based URL overrides and stricter download checks, and fixes a long list of reported bugs in headers, the third-party report and dependency resolution. The requirements are unchanged: Maven 3.9.0 or later, Java 8.

⚠️ Changes to check when upgrading

  • -Dlicense.licenceFile is now -Dlicense.licenseFile for update-project-license and check-project-license. The misspelled property still works for now, with a deprecation warning (#​797, #​479 by @​zdenek-jonas).
  • verbose is deprecated. Its messages are logged at debug level, so use -X instead (#​810, #​340 by @​digulla).

✨ Highlights

  • License texts are cached between builds in ${settings.localRepository}/.cache/mojohaus-license-maven-plugin and reused for 30 days, then revalidated with ETag/Last-Modified. CI builds that restore the local repository stop downloading the same license pages on every run (#​780).
  • licenseNameUrlOverrides downloads a license text from a URL you choose, matched by a regular expression on the license name, so variants of one license share a clean text (#​718 by @​MrBanana05).
  • Stricter downloads. failOnForbidden fails the build when a dependency has a license listed in forbiddenLicenses (#​792, #​323 by @​ppalaga), and failOnMissingLicenseFile fails it when a license text could not be downloaded (#​791). HTML pages are no longer accepted as license texts (#​790).
  • Dependency POMs are read from the repositories of the POMs that lead to them, so licenses of dependencies hosted outside the project's repositories are no longer "Unknown" (#​807, #​752 by @​lrozenblyum).
  • The third-party report links each license to its URL (#​799, #​212 by @​digulla).
  • Proxy: every download of the plugin now uses the active Maven proxy (#​804, #​434 by @​lexx9999).
  • File headers: the FreeMarker directive stays first when a header is added (#​806, #​412 by @​smokemaker). Blank lines of the license are kept when an existing header is read (#​808, #​347 by @​heapifyman). The package statement is no longer matched inside comments (#​803, #​562 by @​onacit). Files fall back to LF when no file sets the end of line (#​800, #​511 by @​jacek-lewandowski).
  • Other fixes: relative file: URLs of license texts resolve against the base directory (#​809, #​428 and #​431 by @​duracotton). The third-party file is added to the resources whatever its name (#​796, #​124 by @​bnese), and the template can read the project (#​801, #​365 by @​ST-DDT). A missing classpath license repository fails with a clear error (#​802, #​384 by @​HenningL), and unknown missing-file entries are logged at debug level when the file is remote (#​798, #​201 by @​TorstenKruse). The artifact cache no longer leaks between helper instances (#​793, #​375 by @​cwholmes), and the dead EUPL 1.1 header URL is replaced (#​795, #​443 by @​dodinh).
  • overrideFile is no longer deprecated. It is the choice for a file inside the project, and overrideUrl stays for remote and classpath: locations (#​794, #​416 by @​bogdanb).
  • Documentation moved to Markdown (#​783), and says that includes and excludes are relative to the roots (#​805).

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

🔧 Build

Thanks to @​MrBanana05, @​slachiewicz and Bjarne Cornelius.

Full changelog


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from jonesbusy as a code owner November 13, 2026 14:01
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 13, 2026
@codecov

codecov Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.97%. Comparing base (423c144) to head (0a6a3c3).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #971      +/-   ##
============================================
+ Coverage     86.57%   86.97%   +0.40%     
  Complexity     1320     1320              
============================================
  Files            51       51              
  Lines          4216     4216              
  Branches        598      598              
============================================
+ Hits           3650     3667      +17     
+ Misses          326      309      -17     
  Partials        240      240              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@jonesbusy
jonesbusy merged commit 58545d7 into main Nov 13, 2026
14 checks passed
@renovate
renovate Bot deleted the renovate/maven-license-plugin.version branch November 13, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant