Skip to content

Automated Dependency Updates for Maven

Renovate supports updating Maven dependencies.

File Matching

By default, Renovate will check any files matching any of the following regular expressions:

(^|/|\.)pom\.xml$
^(((\.mvn)|(\.m2))/)?settings\.xml$

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: maven.

Default config

{
  "fileMatch": [
    "(^|/|\\.)pom\\.xml$",
    "^(((\\.mvn)|(\\.m2))/)?settings\\.xml$"
  ],
  "versioning": "maven"
}

Additional Information

The maven manager focuses on extracting dependencies from pom.xml. It uses the official Maven versioning scheme.

Open feature requests

  • Detect all Maven dependencies when upgrading property value #3247
  • Support pinned snapshot versions in maven datasource #14300
  • Do not use parent property in artifactId dependency for maven project #14670
  • Maven: bumpVersion update child pom.xml versions in multi module projects #14703
  • Maven: Update versions defined in a property but managed by parent pom #15170

Open bug reports

  • Maven multi-module project handled incorrectly #6440
  • defaultRegistryUrls does not work when the manager provides a custom defaultUrl #13925
  • bumpVersion for maven #14762

The above list of features and bugs were current when this page was generated on December 08, 2022.