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$
(^|/)\.mvn/extensions\.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$",
    "(^|/)\\.mvn/extensions\\.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 November 21, 2024.

Feature requests

  • Support constraintsFiltering=strict for maven #25961
  • Detect dependencies defined with properties in maven profiles #18229
  • Maven: bumpVersion update child pom.xml versions in multi module projects #14703

Bug reports

  • Maven extract fails to resolve placeholders from parent module #31004
  • Maven: ensure correct ordering of registryUrls #22811