Commit Graph

1144 Commits

Author SHA1 Message Date
Phillip Webb 432681734f Polish ArchitectureCheck
Extract rules to a new class and use more helper methods.
2025-01-24 18:00:42 -08:00
Yanming Zhou 7bcdb7d3ee Enforce `@ConfigurationProperties` don't use only `prefix`
See gh-43917

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-24 14:57:32 -08:00
Yanming Zhou 0e7d480545 Add spring.validation.method.adapt-constraint-violations property
See gh-43886

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-22 14:35:47 +00:00
Andy Wilkinson e7eca56dde Allow infrastructure beans to be injected into BPP @Bean methods
Closes gh-43928
2025-01-22 14:35:27 +00:00
Andy Wilkinson 53c4ae813b Merge branch '3.3.x' into 3.4.x
Closes gh-43907
2025-01-21 16:19:59 +00:00
arefbehboudi c6b6d0c5ed Polish
See gh-43876

Signed-off-by: arefbehboudi <behboodiaref@gmail.com>
2025-01-21 16:12:52 +00:00
Moritz Halbritter f2906a0e9c Merge branch '3.3.x' into 3.4.x
Closes gh-43828
2025-01-15 11:22:11 +01:00
John Blum ebffe6a038 Simplify findChild method in BomPlugin
See gh-43773

Signed-off-by: John Blum <jblum0@gmail.com>
2025-01-15 11:10:25 +01:00
Andy Wilkinson 870b794ffd Merge branch '3.3.x' into 3.4.x
Closes gh-43784
2025-01-13 09:52:18 +00:00
Andy Wilkinson d2e2aab208 Simplify Antora playbook template
Closes gh-43783
2025-01-13 09:51:23 +00:00
Stéphane Nicoll 049f8a0aab Rely on standard NoOpResponseErrorHandler 2025-01-11 12:55:03 +01:00
Andy Wilkinson 51d15c7c78 Merge branch '3.3.x'
Closes gh-43649 in 3.4.x
Closes gh-43651
2025-01-02 12:22:59 +00:00
Andy Wilkinson d8a9ebd14b Upgrade to Gradle 8.12
Closes gh-43649
2025-01-02 12:05:14 +00:00
Stéphane Nicoll 530a26e9f9 Merge branch '3.3.x'
Closes gh-43646
2025-01-02 06:36:48 +01:00
Christoph Dreis 22c68f9539 Update copyright year to 2025
See gh-43644
2025-01-02 06:36:23 +01:00
Stéphane Nicoll 61bdc91d8f Merge branch '3.3.x'
Closes gh-43623
2024-12-28 10:26:03 +01:00
Stéphane Nicoll 1b6b160105 Polish "Handle <p> in Maven Plugin Reference documentation"
See gh-43622
2024-12-28 10:25:02 +01:00
Tran Ngoc Nhan 334cd36b0a Handle <p> in Maven Plugin Reference documentation
See gh-43622
2024-12-28 10:24:49 +01:00
Phillip Webb 79d97803df Merge branch '3.3.x'
Closes gh-43551
2024-12-17 13:33:58 -08:00
Phillip Webb aa374bf406 Correct links used in upgrade issues
Update BOMR so that the `Upgrade` type now contains a copy of the
library we're upgrading to complete with an updated version number.

This allows the correct links to be generated.

Closes gh-43545
2024-12-17 13:33:47 -08:00
Phillip Webb 54b96c86ce Merge branch '3.3.x'
Closes gh-43526
2024-12-16 10:44:33 -08:00
Phillip Webb 239fa0356f Remove trailing slashes from all link URLs
Closes gh-43518
2024-12-16 10:44:20 -08:00
Johnny Lim 4d15ee5bf0 Polish
See gh-43498
2024-12-13 13:29:20 -08:00
Phillip Webb 52992fb510 Merge branch '3.3.x'
Closes gh-43480
2024-12-10 13:21:33 -08:00
Phillip Webb 709b9bb149 Allow Jackson to escape new line chars when BOMR adds issues
Remove the escaping logic when building the issue body so that Jackson
can perform the actual escaping. Prior to this commit, the message
body was double escaped.

Closes gh-43479
2024-12-10 13:19:53 -08:00
Phillip Webb 5ea9c741c8 Don't duplicate lines when issue has release notes link 2024-12-10 13:00:57 -08:00
Phillip Webb 3cae5c27d1 Merge branch '3.3.x' 2024-11-20 20:58:02 -08:00
Phillip Webb 283bc6faf0 Merge branch '3.2.x' into 3.3.x 2024-11-20 20:57:35 -08:00
Phillip Webb 5c938fc8bc Update copyright year of changed files 2024-11-20 20:57:27 -08:00
Phillip Webb cdf0bfa5b0 Refine javadoc links for 3.4.x
See gh-41614
2024-11-20 19:40:17 -08:00
Phillip Webb 4493ef6ec3 Merge branch '3.3.x' 2024-11-20 17:15:03 -08:00
Phillip Webb 81ba8b6c7b Refine javadoc links
See gh-41614
2024-11-20 17:14:12 -08:00
Phillip Webb b56352405b Merge branch '3.3.x' 2024-11-20 12:34:47 -08:00
Phillip Webb e645f4e734 Fix javadoc links to include module
See gh-41614
2024-11-20 12:34:05 -08:00
Andy Wilkinson 6289104190 Merge branch '3.3.x'
Closes gh-43225
2024-11-20 10:09:32 +00:00
Andy Wilkinson ec2a350959 Publish API catalog content and root aggregate content from s-b-docs
Closes gh-43224
2024-11-20 10:09:23 +00:00
Phillip Webb d9458ac67f Merge branch '3.3.x' 2024-11-19 23:17:51 -08:00
Phillip Webb a3b027a6f1 Add more javadoc links
See gh-41614
2024-11-19 23:15:46 -08:00
Moritz Halbritter 9f6b25e9a6 Merge branch '3.3.x'
Closes gh-43221
2024-11-19 11:17:51 +01:00
Moritz Halbritter 63edd3d65f Merge branch '3.2.x' into 3.3.x
Closes gh-43220
2024-11-19 11:17:41 +01:00
Moritz Halbritter df35d44ea7 Polish "Remove deprecated getFiles() instead of getResolvedArtifacts()"
See gh-43191
2024-11-19 11:12:52 +01:00
YiXuan Ding 659b30d9bb Remove deprecated getFiles() instead of getResolvedArtifacts()
See gh-43191
2024-11-19 11:11:24 +01:00
Yanming Zhou 7fdc9742af Prohibit unnecessary value on `@EnumSource`
See gh-43214
2024-11-18 21:50:35 -08:00
Phillip Webb 1b2322fd13 Merge branch '3.3.x' 2024-11-15 09:07:27 -08:00
Phillip Webb 7b4f57c23f Merge branch '3.2.x' into 3.3.x 2024-11-15 09:07:14 -08:00
Phillip Webb 8591eda5a8 Fix failing buildSrc build 2024-11-15 08:57:16 -08:00
Phillip Webb b14a2a9afc Merge branch '3.3.x' 2024-11-13 11:05:56 -08:00
Phillip Webb 9efb5166d7 Add more javadoc links
See gh-41614
2024-11-13 11:05:51 -08:00
Phillip Webb 2f2d65b7a3 Allow multiple links in libraries DSL
Update our libraries DSL to support multiple links with the same
name. This will allow us to reference libraries that publish
multiple API sites with each of their releases.

See gh-41614
2024-11-13 11:05:39 -08:00
Phillip Webb a2d833c771 Merge branch '3.3.x' 2024-11-13 11:05:00 -08:00
Phillip Webb a1ce20701f Fix javadoc location attributes
See gh-41614
2024-11-13 11:04:41 -08:00
Stéphane Nicoll 92f3da4951 Merge branch '3.3.x'
Closes gh-43096
2024-11-11 08:05:32 +09:00
Stéphane Nicoll cf158d5299 Handle the lack of a release notes link when upgrading a dependency
Closes gh-43094
2024-11-11 08:04:48 +09:00
Stéphane Nicoll 0d386be27f Fix buildSrc build failures 2024-11-11 08:04:48 +09:00
Phillip Webb 151d4085af Merge branch '3.3.x' 2024-11-08 22:49:43 -08:00
Phillip Webb 571bd592fb Fixup and add more javadoc-location attributes
Fix a few errors and add more javadoc-location package attributes
for use in `.adoc` files.

See gh-41614
2024-11-08 22:48:00 -08:00
Phillip Webb c92f248201 Merge branch '3.3.x'
Closes gh-43081
2024-11-08 22:47:46 -08:00
Phillip Webb 30efd52082 Use internal attributes for values that aren't directly referenced
Update `AntoraAsciidocAttributes` so that internal attributes are
available for use in `antora-asciidoc-attributes.properties`. These
attributes don't end up in the final `antora.yml` file.

This commit also restore the `-version` properties for Spring Data.

Closes gh-43080
2024-11-08 22:46:33 -08:00
Phillip Webb 1edb1b0fa3 Merge branch '3.3.x' 2024-11-07 15:55:26 -08:00
Phillip Webb 47216a80e7 Expand javadoc links to include packages
Update javadoc links to include package references when relevant. The
packages are used to populate `javadoc-location-*` attributes that the
Asciidoctor javadoc extension can use.

See gh-41614
2024-11-07 15:55:07 -08:00
Andy Wilkinson 00fdf29ac1 Merge branch '3.3.x'
Closes gh-43034
2024-11-05 15:58:52 +00:00
Andy Wilkinson 42ce97b40f Link to release notes from upgrade issues
Closes gh-31544
2024-11-05 15:55:32 +00:00
Andy Wilkinson 4a9da78eb8 Merge branch '3.3.x'
Closes gh-42969
2024-11-01 14:32:51 +00:00
Andy Wilkinson f9281a61ff Rework Antora Gradle Infrastructure
Closes gh-40572

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-11-01 14:28:18 +00:00
Andy Wilkinson f4c6aab02b Merge branch '3.3.x'
Closes gh-42945
2024-10-30 10:44:27 +00:00
Andy Wilkinson 53186655f9 Merge branch '3.2.x' into 3.3.x
Closes gh-42944
2024-10-30 10:44:04 +00:00
Andy Wilkinson 1c61e59099 Prohibit unnecessary values on @ConditionalOnMissingBean
Closes gh-42941
2024-10-30 10:24:00 +00:00
Andy Wilkinson 9a3605fcb9 Merge branch '3.3.x'
Closes gh-42931
2024-10-29 20:27:13 +00:00
Andy Wilkinson c8b0e7f66a Merge branch '3.2.x' into 3.3.x
Closes gh-42930
2024-10-29 17:54:55 +00:00
Andy Wilkinson c340c691c5 Avoid calling getProject() during task execution
Closes gh-32980
2024-10-29 17:54:00 +00:00
Andy Wilkinson 918d818fdc Merge branch '3.3.x'
Closes gh-42928
2024-10-29 15:23:21 +00:00
Andy Wilkinson 5d425fe3ff Merge branch '3.2.x' into 3.3.x
Closes gh-42927
2024-10-29 15:22:50 +00:00
Andy Wilkinson decf234b88 Move away from ProjectDependency#getDependencyProject()
Closes gh-42870
2024-10-29 15:22:12 +00:00
Phillip Webb d8ef2144e3 Merge branch '3.3.x' 2024-10-23 09:58:59 -07:00
Phillip Webb 9210b3b8e9 Revert "Drop `@Input` from `getData()`"
This reverts commit a9e50d67dd as
we do have some undeclared inputs.

See gh-40572
2024-10-23 09:58:27 -07:00
Phillip Webb bacd2c26e1 Merge branch '3.3.x' 2024-10-22 11:15:00 -07:00
Phillip Webb a9e50d67dd Drop `@Input` from `getData()`
Remove `@Input` from the `getData()` method since it's built up from
other properties.

See gh-40572
2024-10-22 11:13:32 -07:00
Stéphane Nicoll 5fd1b5b2b4 Merge branch '3.3.x'
Closes gh-42811
2024-10-21 17:19:11 +02:00
Stéphane Nicoll 1688804f0c Merge branch '3.2.x' into 3.3.x
Closes gh-42810
2024-10-21 17:19:00 +02:00
jeonghyeon00 cc25e6145e Polish
See gh-42809
2024-10-21 17:00:42 +02:00
Phillip Webb 8d028aa55f Merge branch '3.2.x' into 3.3.x
Closes gh-42793
2024-10-18 10:59:48 -07:00
Phillip Webb a45844e7cd Reclaim docker disk space on CI during build
Attempt to fix disk space issues by removing large docker images
after they have been used.

This commit backports commits from `3.4.x` that were applied to
test the changes.

Closes gh-42776
2024-10-18 10:58:27 -07:00
Andy Wilkinson 66577e8cc3 Merge branch '3.3.x'
Closes gh-42784
2024-10-18 12:55:45 +01:00
Andy Wilkinson 2a60a967bd Merge branch '3.2.x' into 3.3.x
Closes gh-42783
2024-10-18 12:55:25 +01:00
Andy Wilkinson 706f30838b Abort upgrades upon user interrupt
Closes gh-39685
2024-10-18 12:48:58 +01:00
Phillip Webb a61993cdd2 Use bash to launch reclaim space script
See gh-42776
2024-10-17 20:50:20 -07:00
Phillip Webb b1c662449c Don't reclaim Docker space on Windows
See gh-42776
2024-10-17 18:45:09 -07:00
Phillip Webb f269a19448 Reclaim docker disk space on CI during build
Attempt to fix disk space issues by removing large docker images
after they have been used.

See gh-42776
2024-10-17 18:29:44 -07:00
Moritz Halbritter ba1a780147 Merge branch '3.3.x'
Closes gh-42774
2024-10-17 18:06:43 +02:00
Moritz Halbritter 73150b799a Merge branch '3.2.x' into 3.3.x
Closes gh-42772
2024-10-17 17:58:11 +02:00
Moritz Halbritter ce106eb43c Remove calls to deprecated Project.getBuildDir() in Gradle files
Closes gh-42739
2024-10-17 17:46:17 +02:00
Moritz Halbritter 4ce91417a7 Merge branch '3.3.x'
Closes gh-42738
2024-10-17 14:47:31 +02:00
Moritz Halbritter 976fa1d6f5 Merge branch '3.2.x' into 3.3.x
Closes gh-42737
2024-10-17 14:40:46 +02:00
Moritz Halbritter 7613e91a51 Remove calls to deprecated Project.getBuildDir()
Closes gh-42728
2024-10-17 14:30:29 +02:00
Moritz Halbritter c018c43886 Merge branch '3.3.x'
Closes gh-42736
2024-10-17 13:44:25 +02:00
Moritz Halbritter 8efe6e02d9 Merge branch '3.2.x' into 3.3.x
Closes gh-42735
2024-10-17 13:38:03 +02:00
Moritz Halbritter a3060652f8 Call String.toLowerCase and .toUppercase with explicit locale
Closes gh-42719
2024-10-17 13:20:39 +02:00
Dmytro Nosan 666e0c1a53 Added Arch Rules for String.toLowerCase and String.toUpperCase without Locale 2024-10-17 13:20:39 +02:00
Moritz Halbritter 12c1d70738 Merge branch '3.3.x'
Closes gh-42734
2024-10-17 12:01:34 +02:00
Moritz Halbritter 43c4baf975 Merge branch '3.2.x' into 3.3.x
Closes gh-42733
2024-10-17 12:00:47 +02:00
Moritz Halbritter 4a4af0ac66 React to JavaPlugin to get ArchitectureCheck tasks registered again
Closes gh-42732
2024-10-17 11:55:09 +02:00
Phillip Webb 465e909974 Merge branch '3.3.x' 2024-10-16 13:09:09 -07:00
Phillip Webb 5732782043 Merge branch '3.2.x' into 3.3.x 2024-10-16 13:08:44 -07:00
Phillip Webb 41ae973d16 Update copyright year of changed files 2024-10-16 13:08:37 -07:00
Stéphane Nicoll a66d3d2f00 Merge branch '3.3.x'
Closes gh-42689
2024-10-15 10:42:41 +02:00
Stéphane Nicoll 056e2b6029 Merge branch '3.2.x' into 3.3.x
Closes gh-42688
2024-10-15 10:42:33 +02:00
Stéphane Nicoll b0dd42e9b9 Transform Maven settings with proper plugin repository tag
This commit adapts d44e7c9 to transforms plugin repositories using the
correct root tag. Previously, they were transformed with the regular
<repository> tag, which is invalid.

Closes gh-42687
2024-10-15 10:39:59 +02:00
Moritz Halbritter 4429e847bf Merge branch '3.3.x'
Closes gh-42629
2024-10-14 11:59:26 +02:00
Moritz Halbritter 5754be36f1 Improve documentation for CycloneDX integration
Closes gh-41506
2024-10-14 11:55:45 +02:00
Moritz Halbritter 2c929db53d Merge branch '3.3.x'
Closes gh-42627
2024-10-14 11:05:58 +02:00
Tran Ngoc Nhan e0e50f8f5e Fix Spring Data Cassandra Spring LDAP reference doc links
See gh-42599
2024-10-14 11:05:27 +02:00
Moritz Halbritter 35361d14a3 Merge branch '3.3.x'
Closes gh-42597
2024-10-11 14:10:27 +02:00
Moritz Halbritter 3c6e3c14a8 Merge branch '3.2.x' into 3.3.x
Closes gh-42596
2024-10-11 14:10:12 +02:00
Andy Wilkinson 15a7366dcd Merge branch '3.3.x' 2024-10-09 09:37:06 +01:00
Andy Wilkinson 1de35dd817 Merge branch '3.2.x' into 3.3.x 2024-10-09 09:36:01 +01:00
Andy Wilkinson 7082c81167 Reinstate Maven Central as a source for dependency upgrades
See gh-42333
2024-10-09 09:35:29 +01:00
Andy Wilkinson 09400df47b Make URL creation more robust in Bomr's version resolver
Using URI#resolve is brittle as the behavior changes depending on
whether or not the URI ends with a /. This can result in the
original URI's path being lost and the URLs for the Maven metadata
files being incorrect.

See gh-42333
2024-10-09 09:21:09 +01:00
Phillip Webb d92774ab28 Merge branch '3.3.x' 2024-10-01 13:52:13 -07:00
Phillip Webb f069c56738 Merge branch '3.2.x' into 3.3.x 2024-10-01 13:52:06 -07:00
Phillip Webb ab6d5576a7 Fix typo
See gh-42333
2024-10-01 13:51:44 -07:00
Phillip Webb 99142dbbb2 Merge branch '3.3.x' 2024-09-30 16:25:47 -07:00
Phillip Webb ec615f631c Merge branch '3.2.x' into 3.3.x 2024-09-30 16:03:30 -07:00
Phillip Webb 05b4edfd2c Use `ifeval` block for Commercial/OSS documentation
See gh-42333
2024-09-30 15:56:40 -07:00
Phillip Webb 301816eb71 Merge branch '3.3.x' 2024-09-30 11:44:47 -07:00
Phillip Webb fa92b96bfd Merge branch '3.2.x' into 3.3.x 2024-09-30 11:44:42 -07:00
Phillip Webb f7d7d16ecd Polish logger naming 2024-09-30 11:44:28 -07:00
Phillip Webb 59461a7916 Merge branch '3.3.x' 2024-09-30 11:42:53 -07:00
Phillip Webb b4fc218aaa Merge branch '3.2.x' into 3.3.x 2024-09-30 11:42:48 -07:00
Phillip Webb 72de717d2a Skip Homebrew formula creation for non OSS build
See gh-42333
2024-09-30 11:42:16 -07:00
Phillip Webb 5aa08218e3 Merge branch '3.3.x' 2024-09-30 11:37:12 -07:00
Phillip Webb 58968f2862 Merge branch '3.2.x' into 3.3.x 2024-09-30 11:37:01 -07:00
Phillip Webb 89ce26bf26 Skip SCM and IssueManagement POM configuration for non OSS builds
See gh-42333
2024-09-30 11:30:56 -07:00
Phillip Webb bc5a718cfa Merge branch '3.3.x' 2024-09-27 17:35:23 -07:00
Phillip Webb 3b8ae47096 Merge branch '3.2.x' into 3.3.x 2024-09-27 17:35:01 -07:00
Phillip Webb d44e7c9af2 Dynamically populate repositories used in Ant/Maven integration tests
Update build scripts and tests so that repository settings are copied
dynamically from the build.

See gh-42333
2024-09-27 17:33:00 -07:00
Phillip Webb 8282a90268 Merge branch '3.3.x' 2024-09-27 10:34:32 -07:00
Phillip Webb 055064f16b Merge branch '3.2.x' into 3.3.x 2024-09-27 10:33:30 -07:00
Phillip Webb 9836011ffd Create extension to configure Spring maven repositories
Create a small Groovy script that can be used in `settings.gradle`
files to extend `repositories` to support the various maven
repositories required for our build.

See gh-42333
2024-09-27 10:30:20 -07:00
Phillip Webb 04c8344023 Merge branch '3.3.x' 2024-09-26 20:47:51 -07:00
Phillip Webb 8ffd54e449 Merge branch '3.2.x' into 3.3.x 2024-09-26 20:47:38 -07:00
Phillip Webb 4e02c438e4 Update BOMR to use repository names rather than `SpringRepository`
Update BOMR to use repositories names so that we can delete the
`SpringRepository` logic.

See gh-42333
2024-09-26 20:42:38 -07:00
Moritz Halbritter fb3dd68dd3 Merge branch '3.3.x'
Closes gh-42455
2024-09-26 14:02:15 +02:00
Moritz Halbritter 2ba2bd9716 Merge branch '3.2.x' into 3.3.x
Closes gh-42454
2024-09-26 14:00:58 +02:00
Phillip Webb 7b3077280c Merge branch '3.3.x'
Closes gh-42441
2024-09-24 14:32:48 -07:00
Phillip Webb 100bedc07d Merge branch '3.2.x' into 3.3.x
Closes gh-42440
2024-09-24 14:29:09 -07:00
Phillip Webb ad72411e2b Apply conventions plugin to all subprojects
Closes gh-42438
2024-09-24 14:26:32 -07:00
Phillip Webb e210444c68 Fix `KotlinConventions` merge error
See gh-42433
2024-09-24 13:25:09 -07:00
Phillip Webb 72f379a5b2 Merge branch '3.2.x' into 3.3.x
Closes gh-42434
2024-09-24 13:01:05 -07:00
Phillip Webb eafe61c4ca Backport upgrade to Gradle 8.10.1
Cherry-pick commits d756bf4e86, 083ac67d13 and 162c929a80 to
upgrade to Gradle 8.10.1.

Closes gh-42433
2024-09-24 12:55:29 -07:00
Phillip Webb 21b0bdec12 Merge branch '3.3.x'
Closes gh-42418
2024-09-22 17:52:42 -07:00