Commit Graph
1398 Commits
Author SHA1 Message Date
Andy Wilkinson e96ca4af56 Update headers to use quotes consistently
Closes gh-50397
2026-05-14 14:59:43 +01:00
Andy Wilkinson cf2ca419ea Pin Antora's Node version to 24.14.1
24.15.0 regularly crashes during Windows CI builds. The suspected
cause is nodejs/node#62991.

Closes gh-50295
2026-05-06 09:13:17 +01:00
Phillip Webb f8ecad5155 Polish "Align DocumentBuilderFactory configuration"
See gh-50282
2026-05-04 14:02:22 -07:00
Sebastien Tardif eb90d0de63 Align DocumentBuilderFactory configuration
Align configuration used for `DocumentBuilderFactory` instances
across the codebase.

See gh-50282

Signed-off-by: Sebastien Tardif <SebTardif@ncf.ca>
2026-05-04 13:36:12 -07:00
Phillip Webb a5a4e218d9 Fix transformed ivysettings.xml
Fix the environment variable reference to be correctly escaped.

Closes gh-50277
2026-05-01 17:47:05 -07:00
Andy Wilkinson cf16beca40 Polish "Improve Detekt task relocatability by relativizing basePath"
See gh-49937
2026-04-07 10:46:21 +01:00
Eric Haag c6d66dc6ed Improve Detekt task relocatability by relativizing basePath
Configures the `basePath` on Detekt tasks to use a relative path from
the root project. This prevents absolute paths from being used during
analysis, avoiding cross-machine build cache misses and ensuring the
task is fully relocatable.

See: https://github.com/detekt/detekt/issues/7170

Signed-off-by: Eric Haag <ehaag@gradle.com>

See gh-49937
2026-04-07 10:32:48 +01:00
Andy Wilkinson 04a4f415a9 Avoid conflict caused by Micrometer Tracing's bom
Micrometer Tracing's bom isn't a pure bill of materials for the
Micrometer Tracing project as it also imports Micrometer's bom.
As Boot itself also imports Micrometer's bom this can lead to
conflicts when the versions do not all align. For example, at the
time of writing, Boot is using 1.5.10-SNAPSHOT of Micrometer Tracing
and trying to use 1.15.10-SNAPSHOT of Micrometer. This results in some
conflicts as the Micrometer Tracing bom imports 1.15.9 of the
Micrometer bom.

Closes gh-49456
2026-03-06 14:17:10 +00:00
Andy Wilkinson 3aa714572b Fix attribute matching when populating int test Maven repository
See gh-49396
2026-03-06 07:47:59 +00:00
Andy Wilkinson 66554ec811 Make snapshot deps available to Maven Plugin integration tests
See gh-49396
2026-03-05 20:51:11 +00:00
Andy Wilkinson 48cf7ebe6d Speed up Maven plugin integration tests
Closes gh-49396
2026-03-04 12:13:45 +00:00
Yanming Zhou 147d3d763b Members declared in final classes should not be protected
See gh-49031

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2026-02-23 16:28:44 +01:00
Andy Wilkinson 01b33bf76e Disable snapshot caching when checking upgrade version alignment 2026-02-11 10:36:01 +00:00
Andy Wilkinson 416d401fc3 Remove duplicate metadata and add check to prevent future duplicates
Closes gh-49033
2026-02-02 10:39:36 +00:00
Andy Wilkinson 606bda7d94 Upgrade copyright year to 2026
Closes gh-49001
2026-01-28 11:34:09 +00:00
Andy Wilkinson 98511ed321 Correct embedded LICENSE.txt and NOTICE.txt files
Fixes gh-48996
2026-01-28 10:14:08 +00:00
Phillip Webb 60d27fb52c Generate 'org.eclipse.core.resources.prefs' for UTF-8 encoding
Update `EclipseConventions` to generate a prefs file to force
the project to use UTF-8 encoding.

Closes gh-48974
2026-01-26 16:40:45 -08:00
Andy Wilkinson d60158ceb7 Check that auto-configuration classes are listed in imports file
Closes gh-48821
2026-01-14 11:19:46 +00:00
Andy Wilkinson c5e9968bcc Disable caching of changing modules in buildSrc
Closes gh-48772
2026-01-09 10:55:12 +00:00
Stéphane Nicoll d9bf31349a Polish "Improve testing of architecture checks"
See gh-48139
2025-12-01 11:27:16 +01:00
Scott Frederick 8e65122576 Improve testing of architecture checks
See gh-48139

Signed-off-by: Scott Frederick <scottyfred@gmail.com>
2025-12-01 11:20:14 +01:00
Andy Wilkinson 7b1b834fce Merge branch '3.4.x' into 3.5.x
Closes gh-48299
2025-11-26 10:45:02 +00:00
Andy Wilkinson 710e567ba5 Check javadoc macros in adoc files
Closes gh-48298
2025-11-26 10:41:49 +00:00
Andy Wilkinson 01d93513c7 Merge branch '3.4.x' into 3.5.x
Closes gh-48226
2025-11-21 16:47:11 +00:00
Andy Wilkinson 859606ae13 Split architecture checks by language as well as source set
Closes gh-48224
2025-11-21 16:44:54 +00:00
Phillip Webb c3c983f1d8 Merge branch '3.4.x' into 3.5.x
Closes gh-48159
2025-11-17 20:59:53 -08:00
Phillip Webb 7837583484 Add credentials to ivy settings to support commercial builds
Closes gh-46824
2025-11-17 20:54:34 -08:00
Phillip Webb 80ed778179 Merge branch '3.4.x' into 3.5.x 2025-11-17 18:11:41 -08:00
Phillip Webb 0d0493e45e Fix SpringRepositoriesExtensionTests
See gh-46823
2025-11-17 18:11:32 -08:00
Phillip Webb fec4a92c8c Merge branch '3.4.x' into 3.5.x
Closes gh-48157
2025-11-17 12:59:17 -08:00
Phillip Webb 018fc57d64 Use spring.mavenRepositories in buildSrc for all build types
Refine `buildSrc` so that `spring.mavenRepositories()` are considered
for all build types (not just milestones and snapshots). We now pass
"springFrameworkVersion" to `SpringRepositorySupport.groovy` so that
repo.spring.io doesn't get added for OSS builds using release artifacts.

Closes gh-46823
2025-11-17 12:54:31 -08:00
Scott Frederick 78ea236e13 Add since to deprecations in config metadata JSON files
Add the `since` field to all deprecated properties in all
additional-spring-configuration-metadata.json files in the project.

Add to the CheckAdditionalSpringConfigurationMetadata build task to
ensure that all deprecated properties have a non-empty `since` field.

See gh-47980

Signed-off-by: Scott Frederick <scottyfred@gmail.com>
2025-11-13 14:28:27 +01:00
Scott Frederick e1c33a7e3a Add since attribute to uses of DeprecatedConfigurationProperty
Add an architecture rule to ensure that all usages of
`@DeprecatedConfigurationProperty` in the Spring Boot codebase include
the `since` attribute.

Add the `since` attribute to the few places where it was not already
included.

See gh-47980

Signed-off-by: Scott Frederick <scottyfred@gmail.com>
2025-11-13 14:28:27 +01:00
Andy Wilkinson eed7f75f9e Merge branch '3.4.x' into 3.5.x
Closes gh-48107
2025-11-13 10:17:47 +00:00
Andy Wilkinson b09b0296c3 Check aggregated property metadata
Closes gh-47972
2025-11-13 10:16:38 +00:00
Stéphane Nicoll 1ce1b7ee35 Merge branch '3.4.x' into 3.5.x
Closes gh-48105
2025-11-13 10:27:51 +01:00
Stéphane NicollandCatiaCorreia catia.correia97@gmail.com 9e656c1554 Remove unnecessary field initialization
Closes gh-45168

Co-authored-by: CatiaCorreia catia.correia97@gmail.com
2025-11-13 10:21:05 +01:00
Andy Wilkinson adbeb7a03d Include in the appendix properties described using only manual metadata
Closes gh-48073
2025-11-12 14:55:06 +00:00
Stéphane Nicoll c7c09588c1 Adapt assertion to relax newlines check
See gh-47984
2025-11-12 13:20:51 +01:00
Stéphane Nicoll 52951ed8f4 Apply checks for manual configuration metadata
This commit adds a 'org.springframework.boot.configuration-metadata'
plugin to be used for projects that only define manual metadata. Such
project do not need the annotation processor, but do not to check that
the structure of the metadata content matches the same rules.

Closes gh-47984
2025-11-12 13:01:56 +01:00
Andy Wilkinson 11d449fd0a Merge branch '3.4.x' into 3.5.x
Closes gh-47978
2025-11-06 15:15:00 +00:00
Andy Wilkinson ec023368ce Upgrade to gradle-node-plugin 7.1.0
Closes gh-47977
2025-11-06 15:12:30 +00:00
Andy Wilkinson c51c478501 Merge branch '3.4.x' into 3.5.x
Closes gh-47859
2025-10-29 10:06:20 +00:00
Andy Wilkinson d2a349868e Limit Kotlin API docs to Kotlin code
Previously, the Kotlin API docs included Java APIs. This commit
corrects this by suppressing all Dokkatoo source sets other than
main (main in src/main/kotlin, javaMain is src/main/java).

Dokkatoo is sensitive to the order in which plugins are applied. This
commit adapts to the sensitivity by changing the order in which
the Dokatoo and Kotlin JVM plugins are applied. This prevents the
Dokatoo plugin for overwriting the configuration that's applied by
our Kotlin conventions.

Closes gh-47763
2025-10-29 10:02:34 +00:00
Stéphane Nicoll c35a766b13 Fix typos
Closes gh-47816
2025-10-27 14:55:02 +01:00
Tran Ngoc Nhan 0546e3035d Fix typos
See gh-47801

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-10-27 11:40:32 +01:00
Andy Wilkinson 41092f36e0 Merge branch '3.4.x' into 3.5.x
Closes gh-47669
2025-10-22 10:48:09 +01:00
Andy Wilkinson c249d952ab Omit properties deprecated at error level from new appendix
Closes gh-47622
2025-10-22 10:46:35 +01:00
Phillip Webb acaa938050 Merge branch '3.4.x' into 3.5.x
Closes gh-47750
2025-10-21 12:34:01 -07:00
Dmytro Nosan ba88ec7ed1 Stop using @ConditionalOnClass on @Bean methods
See gh-47429

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-10-21 11:32:42 -07:00