Skip to content

Update dependency org.codehaus.mojo:license-maven-plugin to v2.8.0 - #6506

Merged
vdiez merged 2 commits into
masterfrom
renovate/mojohauslicense-maven-plugin
Nov 11, 2026
Merged

vdiez merged 2 commits into
masterfrom
renovate/mojohauslicense-maven-plugin

Conversation

@renovate

@renovate renovate Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

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

v2.8.0

Compare Source

License Maven Plugin 2.8.0 improves the speed, reliability, and configurability of license downloads and third-party license reports. It requires Maven 3.9.0 or later and Java 8 or later.

✨ Highlights

  • Bundled well-known license texts (download-licenses, test-download-licenses): Common plain-text license URLs — including Apache 2.0, EPL 2.0, and the GNU GPL (1.0, 2.0, 3.0), LGPL (2.0, 2.1, 3.0), AGPL (3.0), and FDL (1.1, 1.2, 1.3) families — are now written directly from texts bundled with the plugin instead of being downloaded over the network on every build (#​781).
  • License classification in third-party-report: You can now classify third-party licenses using <forbiddenLicenses>, <problematicLicenses>, and <okLicenses> so the generated report highlights compliance status (Forbidden, Warning, OK, Unknown) as plain text without relying on external skin images (#​731, #​777).
  • Configurable license summary ordering: Added the <orderBy> parameter to download-licenses (name by default, gav, or license) to control the ordering of entries in licenses.xml (#​730).
  • Authenticated license downloads: download-licenses can now authenticate against protected license hosts using credentials configured in Maven's settings.xml via <loginServerId> (#​717).
  • More resilient license downloads and filtering:
    • Restored support for Windows file: URLs (such as file:/C:/... and file://C:/...) in license URLs (#​778).
    • When a license host returns HTTP 429 Too Many Requests or 503 Service Unavailable, the plugin stops querying that host for the rest of the execution instead of repeatedly failing or timing out (#​771).
    • Requests now include a plugin-specific User-Agent header so servers that block default Java HTTP clients accept requests (#​728).
    • License names in <includedLicenses>, <excludedLicenses>, and pipe-separated license lists now have surrounding whitespace trimmed consistently (#​734, #​737).
    • Fixed a NullPointerException when excluding transitive dependencies with a null dependency trail (#​739) and a ConcurrentModificationException when multiple dependencies declare multiple licenses (#​706).

🚨 Removed

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

🔧 Build

📦 Dependency updates

17 changes

Thanks to @​AzazelSensei, @​Master-Code-Programmer, @​MrBanana05, @​slachiewicz, @​slawekjaranowski, @​wuwu2000, Bjarne Cornelius and Jan Diederich.

Full changelog


Configuration

📅 Schedule: (in timezone CET)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

♻ Rebasing: Never, 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 added the dependencies Pull requests that update a dependency file label Nov 11, 2026
@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Renovate Jira issue ID: SONARJAVA-7323

@datadog-sonarsource

This comment has been minimized.

@gitar-bot

gitar-bot Bot commented Nov 11, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Upgrading the license-generation plugin may require Maven 3.9+ and changes generated license files, potentially disrupting older builds or outputs.

Bumps the org.codehaus.mojo:license-maven-plugin dependency from 2.7.1 to 2.8.0 in the build configuration. No issues found.

Verification Rules 2/2 met PRs 3 inspected

Functional validation No results

Rules 2 passed 1 not applicable

✅ Internal artifact registries
✅ Repository license compliance

Broader impact PRs 3 inspected
Cross-PR 3 PRs inspected 0 open impacts

PR 6500: SONARJAVA-7320 Cache safe Maven module results in PR checks Inspected
PR 945: Update dependency org.codehaus.mojo:license-maven-plugin to v2.8.0 Inspected
PR 8368: Update dependency org.codehaus.mojo:license-maven-plugin to v2.8.0 Inspected

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@sonarqube-next

Copy link
Copy Markdown
Contributor

@vdiez vdiez 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.

Auto-approved: Renovate dependency update.

@vdiez
vdiez merged commit b3c4ed9 into master Nov 11, 2026
19 checks passed
@vdiez
vdiez deleted the renovate/mojohauslicense-maven-plugin branch November 11, 2026 18:28
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