Skip to content

Bump org.codehaus.mojo:license-maven-plugin from 2.8.0 to 2.9.0 - #1717

Merged
hpehl merged 1 commit into
mainfrom
dependabot/maven/org.codehaus.mojo-license-maven-plugin-2.9.0
Nov 16, 2026
Merged

hpehl merged 1 commit into
mainfrom
dependabot/maven/org.codehaus.mojo-license-maven-plugin-2.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps org.codehaus.mojo:license-maven-plugin from 2.8.0 to 2.9.0.

Release notes

Sourced from org.codehaus.mojo:license-maven-plugin's releases.

2.9.0

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

... (truncated)

Commits
  • 14089cf [maven-release-plugin] prepare release 2.9.0
  • a379f4c Run the dependency-repository IT on Maven 3 only
  • 23cca7f Write the repo-b URL of the IT dependency POM in a pre-build hook
  • f9d5425 Read dependency POMs from the repositories of the POMs that lead to them
  • 395384b Expect the license link in the aggregate report IT
  • 9313fcb Link licenses to their URL in the third-party report
  • 66d4680 Log the verbose messages at debug level
  • 3cfa40f Replace the dead URL in the EUPL 1.1 header
  • ccf63e1 Use the active proxy for the other downloads of the plugin
  • ce78c05 Add the third-party file to the resource directory regardless of its name
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.codehaus.mojo:license-maven-plugin](https://github.com/mojohaus/license-maven-plugin) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/mojohaus/license-maven-plugin/releases)
- [Commits](mojohaus/license-maven-plugin@2.8.0...2.9.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:license-maven-plugin
  dependency-version: 2.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 13, 2026 21:04
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 13, 2026
@hpehl
hpehl merged commit 1308400 into main Nov 16, 2026
2 checks passed
@dependabot
dependabot Bot deleted the dependabot/maven/org.codehaus.mojo-license-maven-plugin-2.9.0 branch November 16, 2026 08:14
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 java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant