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 items

The below list of features were current when this page was generated on June 06, 2023.

Feature requests

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