Skip to content

Commit

Permalink
fix: consider child pom.xml files for the mavenPropertyVersions custo…
Browse files Browse the repository at this point in the history
…m manager (#24691)
  • Loading branch information
rombert committed Sep 27, 2023
1 parent 3ec91b2 commit a96fa6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/presets/internal/regex-managers.ts
Expand Up @@ -50,7 +50,7 @@ export const presets: Record<string, Preset> = {
customType: 'regex',
datasourceTemplate:
'{{#if datasource}}{{{datasource}}}{{else}}maven{{/if}}',
fileMatch: ['^pom\\.xml$'],
fileMatch: ['(^|/)pom\\.xml$'],
matchStrings: [
'<!--\\s?renovate:( datasource=(?<datasource>[a-z-.]+?))? depName=(?<depName>[^\\s]+?)(?: packageName=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+-->\\s+<.+\\.version>(?<currentValue>.+)<\\/.+\\.version>',
],
Expand Down

0 comments on commit a96fa6e

Please sign in to comment.