Skip to content
mojohausPublic

About

Manages the versions of artifacts in a project POM

Topics

Resources

Contributing

Security policy

Stars

366 stars

Watchers

26 watching

Forks

Repository files navigation

MojoHaus Versions Maven Plugin

Apache License, Version 2.0, January 2004 Maven Central Build Status

The Versions Maven Plugin finds newer versions of the dependencies, plugins, parents and properties in your POMs, reports them, and updates the POMs. It needs Maven 3.9.0 or later and JDK 8 or later, and nothing in the POM to run from the command line:

mvn versions:display-dependency-updates
mvn versions:use-latest-releases
mvn versions:set -DnewVersion=1.2.0

See the project site for the goals, version rules, which filter out pre-releases, and the FAQ.

Contributing

Report problems in the issue tracker with the plugin, Maven and JDK versions and a POM that reproduces them. For a larger change, open an issue or write to the mailing list first.

Pull requests are squash-merged, and the release notes are built from their titles and labels, so the title should describe the change for a user. AGENTS.md describes the modules, the build gates and how the tests are written; it applies to human contributors as well.

Releasing

  • Make sure gpg-agent is running.
  • Run mvn -B release:prepare release:perform.

To publish the site:

cd target/checkout
mvn site
mvn scm-publish:publish-scm

For a multi-module site, two executions are needed.

About

Manages the versions of artifacts in a project POM

Topics

Resources

Contributing

Security policy

Stars

366 stars

Watchers

26 watching

Forks

Releases

Used by

Contributors

Languages