Commit Graph

1119 Commits

Author SHA1 Message Date
Andy Wilkinson
aa7e2fc0a3 Polish 2025-06-12 09:26:25 +01:00
Andy Wilkinson
de54d4df89 Improve linking to Testcontainers' javadoc
Closes gh-45802
2025-06-06 11:10:01 +01:00
Phillip Webb
c688ae345c Improve error report to include expected sorted output 2025-06-02 17:10:54 -07:00
Phillip Webb
d47f1d27f6 Polish AutoConfigurationPlugin 2025-06-02 15:31:09 -07:00
Andy Wilkinson
5464812f80 Improve checking of auto-configuration 2025-06-02 13:45:16 -07:00
Andy Wilkinson
5b2cb79bb1 Configure more version alignment for Spring Data dependencies
Closes gh-45698
2025-05-27 13:56:00 +01:00
Tran Ngoc Nhan
7448f8c73a Document use of git-commit-id-maven-plugin consistently
See gh-45677

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-05-26 16:11:52 +02:00
Tran Ngoc Nhan
380bfa398f Enforce static @ConfigurationPropertyBinding @Bean methods
See gh-45640

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-05-23 12:40:49 +01:00
Andy Wilkinson
7628ae8503 Check Kotlin code using Detekt
Closes gh-45583
2025-05-23 09:22:08 +01:00
Phillip Webb
535a85de2e Simplify javadoc links that use single element package
Closes gh-43230
2025-05-15 16:08:45 -07:00
Andy Wilkinson
0ef29f002f Use junit-bom in buildSrc
Closes gh-45408
2025-05-09 08:43:16 +01:00
Phillip Webb
8814d8a7dc Polish 'Document methods of starting Testcontainer containers'
See gh-44187
2025-05-05 22:09:24 -07:00
Vanio Begic
4a98b1787f Document methods of starting Testcontainer containers
Update the reference documentation to provide more details about the
three supported methods of starting Testcontainer containers.

See gh-44187

Signed-off-by: Vanio Begic <vanio.begic123@gmail.com>
2025-05-05 22:08:06 -07:00
Phillip Webb
b2e691be02 Update copyright year of changed files 2025-04-28 12:20:02 -07:00
Phillip Webb
428fa6d941 Fix copyright headers to consistently start with project inception year 2025-04-28 12:15:32 -07:00
Andy Wilkinson
927e7dbf00 Polish "Use ClassLoader with ArchitectureCheck"
See gh-45202
2025-04-17 15:46:59 +01:00
Dmytro Nosan
bb3cf6c088 Use ClassLoader with ArchitectureCheck
Prior to this commit, certain rules, like BeanPostProcessor,
did not work with external classes. This commit ensures that
ArchRules are executed within a context ClassLoader that includes
all classes from the compile classpath.

See gh-45202

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-17 15:46:59 +01:00
Eric Haag
579bdea431 Throw VerificationException for build verification failures
Verification failures are generally failures which verify correctness,
e.g., failures caused by test, compilation, linting, etc.
Non-verification failures are generally failures related to the
build toolchain, e.g., failures caused by dependency resolution, build
configuration, etc.

Develocity attempts to classify failures based on context, but it
doesn't always classify correctly. By default, most failures are
classified as non-verification. By explicitly throwing a
`VerificationException` for verification task failures, the failures
will be appropriately classified.

See gh-45187

See also: https://docs.gradle.com/develocity/failure-classification

Signed-off-by: Eric Haag <ehaag@gradle.com>
2025-04-14 15:45:25 -07:00
Phillip Webb
2143d702f2 Polish boolean members that can use the default false value 2025-04-11 09:32:35 -07:00
Phillip Webb
88e8c17369 Update copyright year of changed files 2025-04-03 18:06:14 -07:00
Andy Wilkinson
6ad48639c2 Back port 246c4a2 to 3.3.x
The changes do not apply cleanly when cherry-picked so they
have been redone manually.

Closes gh-44941
2025-03-28 16:48:50 +00:00
Andy Wilkinson
86d11c90e2 Allow dockerTest tasks to be run in parallel through configuration
Closes gh-44913
2025-03-26 19:25:05 +00:00
Andy Wilkinson
2f7d598f41 Check imported boms for unwanted dependency management
Closes gh-42523
2025-03-26 10:52:30 +00:00
Andy Wilkinson
9cd6af9ecf Polish CheckBom task 2025-03-26 09:15:01 +00:00
Andy Wilkinson
46a30e98bb Use ResolvedBom for bom checks
Closes gh-44897
2025-03-25 18:37:28 +00:00
Andy Wilkinson
95d89fba94 Remove no-longer-used effective bom artifact
Closes gh-44894
2025-03-25 17:53:23 +00:00
Andy Wilkinson
17be4bdb5f Use ResolvedBom as a source for AntoraAsciidocAttributes
Closes gh-44891
2025-03-25 17:30:28 +00:00
Andy Wilkinson
4f91d41666 Source version properties for Maven plugin tests from resolved bom
Closes gh-44886
2025-03-25 17:05:45 +00:00
Andy Wilkinson
1047c2158a Use resolved bom as source of javadoc links
Closes gh-44878
2025-03-25 16:28:27 +00:00
Andy Wilkinson
7b2d90811d Rewrite process for documenting managed dependencies
Previously, managed dependencies were documented using Gradle's
dependency constraints. This has proven to be non-deterministic for
reasons that are not fully understood. The working theory is that
the constraints that are documented vary depending on the tasks
that the build has run at the point at which the constraints are
being examined and documented.

This commit replaces approach with one that builds a model of a
resolved bom by examining the configured bom extension and the
XML of the Maven boms that it imports. This model is written to
disk from where it can then be consumed as a dependency on other
projects. The existing tasks for documenting the constrained
versions and version properties have been rewritten to use the
resolved bom model instead.

Closes gh-44855
2025-03-25 14:44:34 +00:00
Phillip Webb
896b5767fe Polish 2025-03-14 13:36:04 -07:00
Andy Wilkinson
9b15b4bce9 Consolidate mock web server factories
Closes gh-44674
2025-03-12 15:26:47 +00:00
Andy Wilkinson
3a6e4e9e58 Add checks for factories files
META-INF/spring.factories and META-INF/spring/aot.factories in the
main source set are now checked. The checks verify that:

- Each class listed in the values exists in the source set's output
- The classes are listed alphabetically
- Nested classes are identified using their binary name

Closes gh-44676
2025-03-12 12:44:18 +00:00
Johnny Lim
332ad7bb70 Polish
See gh-44323

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-02-24 07:46:25 +01:00
Phillip Webb
8aea6d575a Update copyright year of changed files 2025-02-18 15:11:35 -08:00
Moritz Halbritter
baf596d10e Document double observations when using @Timed etc.
Closes gh-44037
2025-02-06 12:21:31 +01:00
Andy Wilkinson
0b8f2a567a Improve version upgrade suggestions when version is aligned
Closes gh-44132
2025-02-05 10:07:31 +00:00
Phillip Webb
754fabab20 Fixup 'Limit artifact types resolved from repositories' 2025-02-03 21:18:52 -08:00
Phillip Webb
810fedacee Limit artifact types resolved from repositories
Use `content.snapshotsOnly()` or `content.releasesOnly()` to limit
when maven repositories can be used.
2025-02-03 20:24:33 -08:00
Phillip Webb
80e8ab8779 Support commercial repositories in effective BOM and Ivy
Update `BomExtension` to resolve '{spring.mavenRepositories}' and add
credentials to `ivysettings.xml` and `settings.xml`.

Closes gh-44050
2025-02-03 18:22:53 -08:00
Phillip Webb
fd5180645e Polish 2025-02-03 16:55:09 -08:00
Phillip Webb
9ddd9a9b33 Backport 'Patch gulp-vinyl-zip to improve error messages'
Update Antora `package.json` to patch `@vscode+gulp-vinyl-zip` in order
to provide better error messages.

See gh-42392
2025-01-27 17:39:13 -08:00
Tran Ngoc Nhan
bee3dafc86 Add links to Jackson JavaDoc
See gh-43961

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-01-27 11:42:06 +01:00
Phillip Webb
66c224b74a Update copyright year of changed files 2025-01-24 19:23:41 -08:00
Phillip Webb
4b26a08206 Polish 2025-01-24 19:21:48 -08:00
Phillip Webb
432681734f Polish ArchitectureCheck
Extract rules to a new class and use more helper methods.
2025-01-24 18:00:42 -08:00
arefbehboudi
c6b6d0c5ed Polish
See gh-43876

Signed-off-by: arefbehboudi <behboodiaref@gmail.com>
2025-01-21 16:12:52 +00: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
d2e2aab208 Simplify Antora playbook template
Closes gh-43783
2025-01-13 09:51:23 +00:00
Andy Wilkinson
d8a9ebd14b Upgrade to Gradle 8.12
Closes gh-43649
2025-01-02 12:05:14 +00:00