Repository navigation
Expand file tree
/
Copy pathspringboot-bom-overrides.gradle
More file actions
59 lines (52 loc) · 3.16 KB
/
Copy pathspringboot-bom-overrides.gradle
File metadata and controls
59 lines (52 loc) · 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
* Copyright 2023 Conductor authors
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
// Contains overrides for Spring Boot Dependency Management plugin
// Spring Boot documents supported dependency version override properties at
// https://docs.spring.io/spring-boot/3.3/appendix/dependency-versions/properties.html.
// Keep server runtime dependencies on patched versions until the Spring Boot BOM includes them.
ext['spring-framework.version'] = '6.2.19'
ext['spring-security.version'] = '6.5.11'
ext['log4j2.version'] = '2.25.4'
ext['netty.version'] = '4.1.136.Final'
// Bumps the BOM-managed micrometer family (micrometer-core et al.) to the CVE-patched
// revMicrometer. The registry artifacts are pinned separately to revMicrometerRegistry in
// server/build.gradle and must NOT be bumped through this property — see dependencies.gradle.
ext['micrometer.version'] = revMicrometer
ext['kafka.version'] = '3.9.1'
// The Spring Boot 3.5 BOM pins com.rabbitmq:amqp-client to 5.25.0, which carries
// CVE-2026-63337 / CVE-2026-69219 / CVE-2026-69220. This property is what actually forces
// revAmqpClient (5.35.0) into the shaded jar — the amqp module's explicit version is otherwise
// overridden back down to the BOM version by the dependency-management plugin.
ext['rabbit-amqp-client.version'] = revAmqpClient
// httpcore5 / httpcore5-h2 are BOM-managed at 5.3.6, which carries CVE-2026-54399. 5.4.3 is the
// latest stable in the 5.4 line (5.5.x is alpha/beta) and clears it. Shared by both artifacts.
ext['httpcore5.version'] = '5.4.3'
// Conductor's default is ES6, but SB brings in ES7
ext['elasticsearch.version'] = revElasticSearch7
// When building with ES8 persistence, override Spring Boot's managed Elasticsearch versions.
// Spring Boot 3.3.x manages `org.elasticsearch.client:elasticsearch-rest-client` via
// `elasticsearch.version` and `co.elastic.clients:elasticsearch-java` via
// `elasticsearch-client.version`.
def indexingBackend = findProperty('indexingBackend') ?: 'elasticsearch'
if (indexingBackend == 'elasticsearch8' || indexingBackend == 'es8') {
ext['elasticsearch.version'] = revElasticSearch8
ext['elasticsearch-client.version'] = revElasticSearch8
}
// SB brings groovy 3.0.x which is not compatible with Spock
ext['groovy.version'] = revGroovy
// Keep Testcontainers aligned across modules instead of Spring Boot BOM defaults.
ext['testcontainers.version'] = revTestContainer
// Prevent Spring Boot BOM from downgrading Jedis. Modules that need jedis depend on
// conductor-redis-api (which declares jedis as 'api'), and without this override the
// dependency-management plugin would resolve the BOM version instead of 6.0.0.
ext['jedis.version'] = revJedis