Skip to content

Automated Dependency Updates for Maven

Categories: java

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 items

The below list of features and bugs were current when this page was generated on April 18, 2024.

Feature requests

  • Support constraintsFiltering=strict for maven #25961
  • feat(manager/maven): support .mvn/extensions.xml #24328
  • Detect dependencies defined with properties in maven profiles #18229
  • Maven: bumpVersion update child pom.xml versions in multi module projects #14703

Bug reports

  • Maven: ensure correct ordering of registryUrls #22811