Skip to content

Bump org.codehaus.mojo:versions-maven-plugin from 2.23.0 to 2.25.2 - #317

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/org.codehaus.mojo-versions-maven-plugin-2.25.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/org.codehaus.mojo-versions-maven-plugin-2.25.2

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps org.codehaus.mojo:versions-maven-plugin from 2.23.0 to 2.25.2.

Release notes

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

2.25.2

A bug-fix release for 2.25: pre-release versions are now left out where 2.25.0 and 2.25.1 still offered them, and display-plugin-updates no longer fails on a plugin declared in several profiles of a parent POM. It requires Maven 3.9.0 or later and Java 8 or later, as before.

✨ Highlights

  • display-dependency-updates honours allowPreReleases. Since 2.25.0 every goal is meant to skip alpha, beta, milestone, release candidate, preview and early-access versions by default, but this goal still offered them whatever allowPreReleases was set to (#1491). Early-access versions such as 28-ea+12 are now recognised as pre-releases in every goal.
  • The maxDependencyUpdates enforcer rule gains allowPreReleases. Default false, as in the goals: pre-releases no longer count as updates and no longer fail the rule unless you set it to true.
  • display-plugin-updates no longer fails with "Duplicate key". A report plugin declared in two profiles of a parent POM broke the goal in 2.25.1 (#1490); the last declaration now wins.
  • No more minimumReleaseAge warnings for snapshots. With minimumReleaseAge set, every SNAPSHOT in the local repository logged "Cannot determine the publication date". Snapshots now skip the age check; allowSnapshots decides whether they are offered.

🚀 New features and improvements

🐛 Bug Fixes

Thanks to @​slachiewicz.

Full changelog

2.25.1

Versions Maven Plugin 2.25.1 fixes a false warning in display-plugin-updates.

✨ Highlights

  • No more false "version not specified" warnings for inherited plugins. display-plugin-updates used a parent plugin's version only when the parent declared <inherited>true</inherited>. A plugin versioned in the parent's build/plugins or reporting and used without a version in the child was reported as unversioned. Omitting <inherited> now counts as inherited, and <inherited>false</inherited> still keeps the version out (#1489, #1488 by @​hkoosha).

🐛 Bug Fixes

Thanks to @​slachiewicz.

Full changelog

2.25.0

Versions Maven Plugin 2.25.0 stops suggesting pre-release versions by default, can hold back releases until they have been published for a set number of days, and can follow the ignore rules of a project's Dependabot configuration. It requires Maven 3.9.0 or later and Java 8 or later.

✨ Highlights

  • Pre-releases are left out by default: every goal and report now skips alpha, beta, milestone, release-candidate, preview and early-access versions, so the newest stable version is reported instead of, say, 3.34.0.CR1. Pass -DallowPreReleases=true to get the previous output. When the current version is itself a pre-release or snapshot, newer pre-releases of the same release line are still offered: from 4.0.0-beta-3, both 4.0.0-beta-4 and 4.0.0 are offered (#1482).
  • minimumReleaseAge: offer a release as an update only after it has been published for the given number of days (-Dversions.minimumReleaseAge=7). minimumReleaseAgeExcludes exempts trusted groupId:artifactId patterns. The publication date is read through Maven's own transport, so proxies, mirrors and server credentials apply (#1484).
  • Dependabot ignore rules: with -Dversions.dependabotConfig=.github/dependabot.yml, the goals and reports skip the versions that the Dependabot configuration ignores for the branch being built (#1480).
  • processPlugins for the use-latest-* and use-next-* goals: these goals can now also update plugins with a literal version in build/plugins, build/pluginManagement and reporting. A plugin version that needs a newer Maven than the project's minimum is skipped (#1477).
  • set-property -Dinsert: adds a property the POM doesn't declare yet, optionally inside a profile given with profileId (#1340).
  • rulesUri is loaded through the Maven Resolver: it works with whichever transports Maven is configured with, and the Wagon dependencies are gone. Code that constructs the mojos, reports or the maxDependencyUpdates enforcer rule directly now passes a TransporterProvider instead of a Map<String, Wagon> (#1475).

... (truncated)

Commits
  • d90c73d [maven-release-plugin] prepare release 2.25.2
  • 3ba1d37 Leave pre-releases out of the maxDependencyUpdates rule
  • cad633d Skip the minimumReleaseAge lookup for snapshots
  • 531a774 Read a parent plugin declared in several profiles once (#1490)
  • 5069e19 Leave pre-releases out of display-dependency-updates (#1491)
  • 8844542 [maven-release-plugin] prepare for next development iteration
  • 3126d12 [maven-release-plugin] prepare release 2.25.1
  • 2718359 Treat a parent plugin without <inherited> as inherited (#1488)
  • 998e047 [maven-release-plugin] prepare for next development iteration
  • 818c81d [maven-release-plugin] prepare release 2.25.0
  • 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:versions-maven-plugin](https://github.com/mojohaus/versions) from 2.23.0 to 2.25.2.
- [Release notes](https://github.com/mojohaus/versions/releases)
- [Changelog](https://github.com/mojohaus/versions/blob/master/ReleaseNotes.md)
- [Commits](mojohaus/versions@2.23.0...2.25.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 17, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 17, 2026 17:42
@github-actions

Copy link
Copy Markdown
Overall Project 90.9% 🍏

There is no coverage information present for the Files changed

This branch has not been deployed

No deployments
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.

0 participants