diff --git a/lib/config/presets/internal/workarounds.ts b/lib/config/presets/internal/workarounds.ts index 45ebbac3e66f04..cc5c89fa9f4bb1 100644 --- a/lib/config/presets/internal/workarounds.ts +++ b/lib/config/presets/internal/workarounds.ts @@ -18,6 +18,7 @@ export const presets: Record = { 'workarounds:supportRedHatImageVersion', 'workarounds:javaLTSVersions', 'workarounds:disableEclipseLifecycleMapping', + 'workarounds:disableMavenParentPackages', 'workarounds:disableMavenParentRoot', 'workarounds:containerbase', ], @@ -47,6 +48,16 @@ export const presets: Record = { }, ], }, + 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.',