feat(maven): workaround for spring cloud numeric versions (#7818)

This commit is contained in:
Rhys Arkins 2020-11-25 21:54:43 +01:00 committed by GitHub
parent 81bd4f92be
commit 91bc90c795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ export const presets: Record<string, Preset> = {
extends: [ extends: [
'workarounds:unstableV2SetupNodeActions', 'workarounds:unstableV2SetupNodeActions',
'workarounds:mavenCommonsCliAncientVersion', 'workarounds:mavenCommonsCliAncientVersion',
'workarounds:ignoreSpringCloudNumeric',
], ],
}, },
unstableV2SetupNodeActions: { unstableV2SetupNodeActions: {
@ -29,4 +30,14 @@ export const presets: Record<string, Preset> = {
}, },
], ],
}, },
ignoreSpringCloudNumeric: {
description: 'Ignore spring cloud 1.x releases',
packageRules: [
{
datasources: ['maven'],
packageNames: ['org.springframework.cloud:spring-cloud-starter-parent'],
allowedVersions: '/^[A-Z]/',
},
],
},
}; };