Skip to content

Commit

Permalink
fix(maven): Disable all parent packages by default (renovatebot#25823)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov authored Nov 15, 2023
1 parent 9b33fee commit 5c3eade
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/config/presets/internal/workarounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const presets: Record<string, Preset> = {
'workarounds:supportRedHatImageVersion',
'workarounds:javaLTSVersions',
'workarounds:disableEclipseLifecycleMapping',
'workarounds:disableMavenParentPackages',
'workarounds:disableMavenParentRoot',
'workarounds:containerbase',
],
Expand Down Expand Up @@ -47,6 +48,16 @@ export const presets: Record<string, Preset> = {
},
],
},
disableMavenParentPackages: {
description: 'Avoid version fetching for parent Maven packages.',
packageRules: [
{
enabled: false,
matchDepTypes: ['parent'],
matchManagers: ['maven'],
},
],
},
disableMavenParentRoot: {
description:
'Avoid version fetching for Maven packages detected as project root.',
Expand Down

0 comments on commit 5c3eade

Please sign in to comment.