Skip to content

Releases

2.25.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 19:32
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

  • Treat a parent plugin without as inherited in display-plugin-updates (#1489) @slachiewicz

Thanks to @slachiewicz.

Full changelog

2.25.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 15:58
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).
  • Fixes: BOMs imported as ${project.groupId}:bom:${project.version} no longer fail with "Not fully interpolated artifact" on Maven 3.10 and 4 (#1486). A property that only a child module uses is evaluated with that module's rules again, as in 2.22.0 (#1481). numThreads is honored by the use-latest-* and use-next-* goals (#1478).

🚨 Removed

  • Leave pre-release versions out by default in every goal and report (#1482) @slachiewicz

🚀 New features and improvements

🐛 Bug Fixes

  • Interpolate raw dependencyManagement coordinates before resolving versions (#1486) @slachiewicz
  • Allow downgrading x.0.0-SNAPSHOT to an x.0.0 pre-release with allowMajorUpdates=false (#1374) @dcolazin
  • Evaluate a parent property used only by a module in that module (#1481) @slachiewicz
  • Honor numThreads in the use-latest and use-next goals (#1478) @slachiewicz

📦 Dependency updates

Thanks to @dcolazin, @mandritschke, @Master-Code-Programmer and @slachiewicz.

Full changelog

2.24.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 09:33
2.24.0

Versions Maven Plugin 2.24.0 improves compatibility with modern Maven distributions when loading remote rulesUri configurations, refreshes its HTML report rendering and documentation site, and raises the minimum Maven version. It requires Maven 3.9.0 or later and Java 8 or later.

✨ Highlights

  • Bundled file and http(s) Wagons for rulesUri: wagon-file and wagon-http are now bundled with the plugin so loading version comparison rules via <rulesUri> (http://, https://, or file://) works out of the box on Maven distributions (including Maven 4) that no longer bundle Wagon (#1474).
  • Plain-text status indicators in HTML reports: The dependency, plugin, and property update reports now render status indicators as clear text instead of relying on external Doxia skin icon images (#1472).
  • Documentation site improvements: Added a top-level landing page and navigation bar to the documentation site and clarified the XMLStreamException FAQ (#1454, #1465).

🚨 Removed

🚀 New features and improvements

📝 Documentation updates

👻 Maintenance

🔧 Build

📦 Dependency updates

Thanks to @ngocnhan-tran1996 and @slachiewicz.

Full changelog

2.23.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 20:43
2.23.0

Versions Maven Plugin 2.23.0 makes the property goals more reliable on multi-module projects and adds a few options people have asked for over the years. It still runs on Java 8 and Maven 3.6.3 or later.

Property updates

  • update-property and update-properties now update a property that is defined in a reactor parent POM, rather than leaving it untouched (#997).
  • A property shared by a plugin and an excluded dependency is no longer updated behind the exclude's back (#1199).
  • The property goals look up all properties in parallel, which shortens runs on POMs with many version properties (#1157).
  • A dependency whose type or classifier is itself a property, such as ${native.classifier}, no longer breaks the property goals on Maven 3.10 and 4 (#1409).
  • lock-snapshots and unlock-snapshots now rewrite snapshot versions held in properties, where that is safe (#1269).

Other fixes and additions

  • versions:set with selected projects (-pl) updates the modules that inherit the version again, on Maven 3 and Maven 4 (#1338, #1339, #1357).
  • Includes and excludes now filter the candidate versions too, so an excluded version is never proposed as an update (#1378).
  • display-dependency-updates -Dversions.showNewestPerSegment lists the newest incremental, minor and major version, for example 1.0.3 -> 1.0.9, 1.3.9, 4.0.6 (#1043).
  • parent-updates-report supports formats, including XML (#975), and the XML property updates report now fills in the current version (#976).
  • The plugin update reports share their lookup with display-plugin-updates and include plugins declared only in <reporting> (#1250).

Thanks to @wilx and @adityaanikam for their contributions to this release.

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

🔧 Build

📦 Dependency updates

Thanks to @slachiewicz, @wilx and @adityaanikam.

Full changelog

2.22.0

Choose a tag to compare

@github-actions github-actions released this 11 Sep 20:51

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

📦 Dependency updates

37 changes

2.21.0

Choose a tag to compare

@github-actions github-actions released this 18 Jan 22:41
2.21.0
1cdedea

🚀 New features and improvements

🐛 Bug Fixes

  • #1331: Fix NPE in restrictionForUnchangedSegment if actual version is null (#1332) @andrzejj0
  • #1310: Corrected UseDepVersionMojo + handling a similar case in SetMojo, SetScmTagMojo, UpdateChildModulesMojo (#1322) @andrzejj0
  • UseDepVersionMoto should process all projects on the project list (#1320) @andrzejj0
  • Fixed #1317: Regression coming from ArtifactVersions::filter when currentVersion is null and ignoredVersions is not null (#1319) @andrzejj0

📝 Documentation updates

📦 Dependency updates

2.20.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 17:53
2.20.1
b296a4f

🐛 Bug Fixes

2.20.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 17:03

🚀 New features and improvements

🐛 Bug Fixes

  • Fixed a problem with dependency management filtering in the logged results (#1298) @andrzejj0
  • Fixes #1295: getAllUpdates(boolean) should respect currentVersionRange (#1297) @andrzejj0
  • Fixed #1287 - Versionless dependencies in dependencyManagement accepted by maven, but not bij resolve-ranges (#1288) @maroschutte
  • Artifact comparison should use semantic version comparison. (#1281) @andrzejj0
  • Resolves #1150: Resolve multiple level properties (properties resolving to properties) (#1276) @andrzejj0

📝 Documentation updates

👻 Maintenance

📦 Dependency updates

2.19.1

Choose a tag to compare

@github-actions github-actions released this 22 Sep 06:16
2.19.1
804a5ab

🐛 Bug Fixes

📝 Documentation updates

2.19.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 19:29
2.19.0
b625a90

💥 Breaking changes

  • Removed numeric and mercury comparators, further refactoring (#1222) @andrzejj0

🚀 New features and improvements

🐛 Bug Fixes

👻 Maintenance

📦 Dependency updates