Commit Graph

786 Commits (aeb6537f57d00cdf47b948067c8a3421a71e72d8)

Author SHA1 Message Date
Andy Wilkinson 994a7a0795 Add support to Bomr for moving to snapshots
Closes gh-27002
2 years ago
Andy Wilkinson 64dcbec763 Merge branch '3.0.x'
Closes gh-34124
2 years ago
Andy Wilkinson 1cdc24a11d Merge branch '2.7.x' into 3.0.x
Closes gh-34123
2 years ago
Andy Wilkinson 07fcb67540 Use repo.maven.apache.org consistently
Maven Central has two canonical URLs [1]:

- https://repo1.maven.org
- https://repo.maven.apache.org

This commit updates the codebase to only use repo.maven.apache.org.

Closes gh-33938

[1] https://central.sonatype.org/news/20190715_http_deprecation_update/#canonical-urls
2 years ago
Moritz Halbritter 48db5ff35c Merge branch '3.0.x'
Closes gh-34018
2 years ago
Moritz Halbritter 0a080736d8 Merge branch '2.7.x' into 3.0.x
Closes gh-34017
2 years ago
Johnny Lim 5eeb429e44 Polish
See gh-33966
2 years ago
Phillip Webb 390892f11b Merge branch '3.0.x'
Closes gh-33998
2 years ago
Krzysztof Krason 1b5b1cd250 Use Files.writeString
See gh-33987
2 years ago
Krzysztof Krason 55a50d565c Use Comparator.comparing
See gh-33987
2 years ago
Krzysztof Krason 6e46423983 Use diamond operators
See gh-33987
2 years ago
Andy Wilkinson 8e7822d214 Create 3.0.x branch 2 years ago
Phillip Webb a889c539ab Merge branch '2.7.x' 2 years ago
Phillip Webb a0fe8241a7 Update copyright year of changed files 2 years ago
Moritz Halbritter 522ef881a0 Merge branch '2.7.x'
Closes gh-33852
2 years ago
Moritz Halbritter af2b5b4571 Increase sleep duration after creating GitHib issue in BOMR
Closes gh-30304
2 years ago
Moritz Halbritter e3483f10be Merge branch '2.7.x'
Closes gh-33844
2 years ago
Moritz Halbritter a41ca05a2f Default to empty string if description in plugin.xml is not set
Closes gh-20890
2 years ago
Moritz Halbritter 6567f40650 Merge branch '2.7.x' 2 years ago
Moritz Halbritter a2f9e30e77 Reduce number of threads used for BOMR library update checks
See gh-33824
2 years ago
Moritz Halbritter c1ca05d99d Merge branch '2.7.x'
Closes gh-33825
2 years ago
Moritz Halbritter e0b7720b9e Implement multithreaded BOMR library resolution
- BOMR now first looks for library updates, collects them all and then
  prompts the user to choose which update to apply
- Refactored code into StandardLibraryUpdateResolver
- Implemented MultithreadedLibraryUpdateResolver on top of the standard
  one
- Uses 8 threads by default, this is configurable
- When run with --info, it logs how long each update search took

Closes gh-33824
2 years ago
Moritz Halbritter 600300c071 Merge branch '2.7.x' 2 years ago
Moritz Halbritter 484d662085 Allow multiple startsWith, contains and endsWith clauses in bomr
- Add support for startsWith prohibition
2 years ago
Moritz Halbritter 3d42ab085a Polish MavenMetadataVersionResolver 2 years ago
Moritz Halbritter b3644c1a99 Polish StandardGitHub 2 years ago
Moritz Halbritter 75f934c92e Merge branch '2.7.x'
Closes gh-33816
2 years ago
Moritz Halbritter aca087e762 Add more possibilities to prohibit version upgrades
Closes gh-32457
2 years ago
Moritz Halbritter af04d4ae46 Merge branch '2.7.x'
Closes gh-33793
2 years ago
Moritz Halbritter d5e541226b Add bomr support for 5 component version numbers
Closes gh-29928
2 years ago
Andy Wilkinson 485025310e Merge branch '2.7.x'
Closes gh-33777
2 years ago
Andy Wilkinson 9d57cbc1d5 Drop scoop manifest creation
Closes gh-33703
2 years ago
Andy Wilkinson 433364601d Merge branch '2.7.x' 2 years ago
Andy Wilkinson 3b2e5e5292 Remove references to https://repo.spring.io/release 2 years ago
Andy Wilkinson 4c62de1710 Merge branch '2.7.x'
Closes gh-33764
2 years ago
Andy Wilkinson a8da4e1004 Upgrade to Asciidoctor Backends 0.0.4
Closes gh-33761
2 years ago
Phillip Webb 29b7c121fb Merge branch '2.7.x'
Closes gh-33739
2 years ago
Phillip Webb a369f936c9 Replace references to Pivotal
Closes gh-33737
2 years ago
Phillip Webb a2ac38e203 Update copyright year of changed files 2 years ago
Phillip Webb 1621cfd578 Merge branch '2.7.x' 2 years ago
Phillip Webb 80cfcb71ec Update copyright year of changed files 2 years ago
Krzysztof Krason cf6493f65c Simplify AssertJ assertions and also make them more readable
See gh-33653
2 years ago
Moritz Halbritter b641073777 Merge branch '2.7.x'
Closes gh-33725
2 years ago
Christoph Dreis 1b4ef5db0f Update copyrights to 2023
See gh-33682
2 years ago
Phillip Webb 5ec5007bf0 Merge branch '2.7.x'
Closes gh-33706
2 years ago
Phillip Webb 68af379714 Don't use repo.spring.io in released Homebrew or Scoop recipes
Update our Homebrew and Scoop recipes to use `repo1.maven.org` rather
than `repo.spring.io` for releases.

Fixes gh-33702
2 years ago
Phillip Webb 0d9967c70c Polish 2 years ago
Andy Wilkinson 3bcc7ece55 Merge branch '2.7.x'
Closes gh-33676
2 years ago
Andy Wilkinson 84c021bc97 Upgrade to Gradle Enterprise Gradle Plugin 3.12.1
Closes gh-33672
2 years ago
Phillip Webb f588793445 Update copyright year of changed files 2 years ago
Phillip Webb 0254619782 Merge branch '2.7.x' 2 years ago
Phillip Webb e4772cf3b7 Update copyright year of changed files 2 years ago
Phillip Webb 9562a2c2f1 Merge branch '2.7.x' 2 years ago
Phillip Webb 60a75e3799 Increase timeout for ApplicationRunner task 2 years ago
Moritz Halbritter f36e2ecb7b Use AutoClosables with try-with-resources
Closes gh-33538
2 years ago
Moritz Halbritter 725337f976 Make fields final
Closes gh-33537
2 years ago
Phillip Webb 67c9c7377a Merge branch '2.7.x'
Closes gh-33414
2 years ago
Jerome Prinet 72a9f494f3 Document that SystemTestPlugin output should never be cached
See gh-33411
2 years ago
Andy Wilkinson f39b297677 Merge branch '2.7.x'
Closes gh-33227
2 years ago
Andy Wilkinson 04353e4961 Merge branch '2.6.x' into 2.7.x
Closes gh-33226
2 years ago
Andy Wilkinson 1494deb4a0 Check for package tangles at build time
See gh-17299
2 years ago
Andy Wilkinson f8a2e68a5d Merge branch '2.7.x' 2 years ago
Andy Wilkinson 1e536f5c20 Merge branch '2.6.x' into 2.7.x 2 years ago
Andy Wilkinson 5dab9b0e9f Revert "Temporarily work around problems with Gradle's plugin portal"
This reverts commit fb954e8109.
2 years ago
Andy Wilkinson b357239861 Upgrade to Jakarta Activation 2.1.0
Closes gh-33045
2 years ago
Andy Wilkinson 7cbd90d87d Merge branch '2.7.x' 2 years ago
Andy Wilkinson 1d838f6faa Merge branch '2.6.x' into 2.7.x 2 years ago
Andy Wilkinson fb954e8109 Temporarily work around problems with Gradle's plugin portal 2 years ago
Phillip Webb 2b5a29d514 No longer log hostname during application start
Remove hostname logging since `InetAddress.getLocalHost().getHostName()`
causes a network lookup and can take a long time.

Closes gh-32908
2 years ago
Johnny Lim 5067aab552 Polish
See gh-32840
2 years ago
Phillip Webb 4be3218cb6 Merge branch '2.7.x' 2 years ago
Andy Wilkinson 99edda735e Polish 2 years ago
Andy Wilkinson edce1f4e91 Merge branch '2.7.x'
Closes gh-32611
2 years ago
Andy Wilkinson d909c4efb6 Merge branch '2.6.x' into 2.7.x
Closes gh-32610
2 years ago
Andy Wilkinson c4a0dad6fe Upgrade to Spring Java Format 0.0.35
Closes gh-32609
2 years ago
Phillip Webb e0b67889a8 Use Stream.toList instead of Stream.collect when possible
Update code to make use of `Stream.toList()` whenever possible.

Closes gh-28177
2 years ago
Andy Wilkinson a036b30822 Merge branch '2.7.x' 2 years ago
Andy Wilkinson c31d99d3a0 Merge branch '2.6.x' into 2.7.x 2 years ago
Andy Wilkinson 8a93abfaaa Improve diagnostics when run does not produce expected logging 2 years ago
Scott Frederick 08022ba86e Remove support for locating imports using spring.factories
With this commit, loading `@AutoConfiguration`,
`@ImportAutoConfiguration`, and `@ManagementContextConfiguration`
classes is supported with `.imports` files only. Support for loading
these classes with `spring.factories` is removed.

Closes gh-29699
2 years ago
Scott Frederick f9c341c75a Revert "Generate the AutoConfiguration.imports file from annotations"
This reverts commit da4de7d67d.
2 years ago
Andy Wilkinson 2f3b681a82 Merge branch '2.7.x' 2 years ago
Andy Wilkinson 3f779191e6 Merge branch '2.6.x' into 2.7.x 2 years ago
Andy Wilkinson 5cb23aeb85 Only disable test tasks when a project isn't compatible with toolchain
Disabling compilation means that any downstream project will break.
For example, disabling our Gradle plugin's compileJava task means
that the launch script test app fails to build as it uses our
Gradle plugin and its classes are missing.

See gh-gh-32280
2 years ago
Andy Wilkinson 144fdaa703 Merge branch '2.6.x' into 2.7.x
Closes gh-32283
2 years ago
Andy Wilkinson 78f4242e46 Build with Gradle 7.5 while still supporting Gradle 6.8+
Closes gh-32281
2 years ago
Phillip Webb 46be4a3f30 Merge branch '2.7.x' 2 years ago
Phillip Webb d4ed2bd47a Support import into Eclipse 2022-06
Fix a few issues preventing clean project import into Eclipse 2022-06:

  - `buildSrc` need to limit module imports to prevent clashes
    with those in the gradle API jar.

  - The CLI app needs some classpath changes in order to allow
    compileOnly project dependencies to resolve.

  - `AbstractJpaAutoConfigurationTests` needs some minor refactoring
    in order for generic captures to work with the Eclipse compiler.
2 years ago
Johnny Lim 2273191c03 Polish
See gh-32215
2 years ago
Andy Wilkinson d1810941e8 Automatically configure annotation processing in Eclipse
Closes gh-32236
2 years ago
Brian Clozel cca5ee8a89 Merge branch '2.6.x' into 2.7.x
Closes gh-32229
2 years ago
Andy Wilkinson d9265f0a92 Build against SnakeYAML 1.31 but still use 1.29 in dep mgmt and starter 2 years ago
Scott Frederick da4de7d67d Generate the AutoConfiguration.imports file from annotations
This commit adds the `AutoConfigurationImportsAnnotationProcessor` to
the `spring-boot-autoconfigure-processor` annotation processor
module. When added to a project build, the annotation processor will
generate the
`org.springframework.boot.autoconfigure.AutoConfiguration.imports`
file automatically from `@AutoConfiguration`-annotated classes. It
also applies the annotation processor to the Spring Boot build.

Closes gh-31228
2 years ago
Andy Wilkinson 19a7fee1d7 Merge branch '2.7.x'
Closes gh-32202
2 years ago
Andy Wilkinson d189853412 Merge branch '2.6.x' into 2.7.x
Closes gh-32201
2 years ago
Andy Wilkinson 01aeb550b6 Upgrade to Test Retry Gradle Plugin 1.4.1
Closes gh-32200
2 years ago
Phillip Webb 09bd531fe5 Add Maven plugin support for processing test contexts Ahead-of-time
Refactor and update the Spring Boot Maven Plugin so that it can
be used to perform AOT processing of test classes.

Closes gh-32191
2 years ago
Phillip Webb fe1ffff3d7 Merge branch '2.7.x'
Closes gh-32158
2 years ago
Phillip Webb 5f2f6d32cf Merge branch '2.6.x' into 2.7.x
Closes gh-32157
2 years ago
Phillip Webb 546d7b41e9 Polish 'Add JVM options to prevent warnings with asciidoctor'
See gh-32123
2 years ago
Andy Wilkinson 41334223ff Merge branch '2.7.x'
Closes gh-32044
2 years ago
Andy Wilkinson a9a9c9f966 Merge branch '2.6.x' into 2.7.x
Closes gh-32043
2 years ago
Andy Wilkinson f287acd1ff Fix external links in descriptions of Maven Plugin's goal parameters
Closes gh-29171
2 years ago
Andy Wilkinson ba93e6c0ed Restore support for Jersey
Closes gh-28637
2 years ago
Madhura Bhave 0991bd3983 Harmonize data configuration
Any classes that rely on Spring Data being on the classpath
have been moved under a data package.

Certain configuration properties have also been updated to
accurately reflect whether Spring Data is required for the
auto-configuration to work.

Closes gh-11574
2 years ago
Andy Wilkinson 36cf3b9f78 Merge branch '2.7.x'
See gh-31988
2 years ago
Andy Wilkinson eb67470b89 Merge branch '2.6.x' into 2.7.x
See gh-31987
2 years ago
Andy Wilkinson b905d7f341 Normalize included log output to remove CI-specific details
See gh-28208
2 years ago
Andy Wilkinson 05877dc927 Merge branch '2.7.x'
Closes gh-31988
2 years ago
Andy Wilkinson a69cf002f0 Merge branch '2.6.x' into 2.7.x
Closes gh-31987
2 years ago
Andy Wilkinson 6efa77f3f5 Generate console output examples at build time
Closes gh-28208
2 years ago
Andy Wilkinson 2f0dfc341c Merge branch '2.7.x'
Closes gh-31972
2 years ago
Andy Wilkinson 700460c322 Merge branch '2.6.x' into 2.7.x
Closes gh-31971
2 years ago
Andy Wilkinson fa73b73898 Fail build on missing configuration property descriptions
Closes gh-31916
2 years ago
Brian Clozel 38f1bc9793 Reinstate Spring for GraphQL auto-configuration
This commit adds the Spring for GraphQL auto-configuration back
into Spring Boot 3.0, now that a 1.1.0 release is scheduled with the
required baseline. This release also needs GraphQL Java 19.0 as a
baseline.

Closes gh-31809
2 years ago
Andy Wilkinson 8436654614 Merge branch '2.7.x'
Closes gh-31911
2 years ago
Andy Wilkinson 53703206ae Merge branch '2.6.x' into 2.7.x
Closes gh-31910
2 years ago
Andy Wilkinson 532285b47e Add support for upgrading specific libraries with Bomr
Closes gh-31909
2 years ago
Phillip Webb 7377d85096 Merge branch '2.7.x'
Closes gh-31866
2 years ago
Phillip Webb a4ef6a7c5c Merge branch '2.6.x' into 2.7.x
Closes gh-31865
2 years ago
Phillip Webb f8412847dc Update copyright year for "Fix typos in code and documentation"
See gh-31734
2 years ago
Marc Wrobel dbfc6bded4 Fix typos in code and documentation
See gh-31734
2 years ago
Phillip Webb b93dbd56e8 Merge branch '2.7.x' 2 years ago
Phillip Webb 3931e82841 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 757a0c2664 Update copyright year of changed files 2 years ago
Andy Wilkinson 0980362a88 Merge branch '2.7.x'
Closes gh-31843
2 years ago
Andy Wilkinson 64dcfe520d Merge branch '2.6.x' into 2.7.x
Closes gh-31842
2 years ago
Andy Wilkinson a1443d1cdc Enforce ordering in additional-spring-configuration-metadata.json files
Closes gh-31575
2 years ago
Andy Wilkinson 3405a54f9e Exclude Jetty toolchain dependencies in favor of official API artifacts
Closes gh-31720
2 years ago
Andy Wilkinson 631b1e0d76 Merge branch '2.7.x'
Closes gh-31526
2 years ago
Andy Wilkinson 1e08f545d0 Merge branch '2.6.x' into 2.7.x
Closes gh-31525
2 years ago
Andy Wilkinson f49b16c645 Upgrade to Spring Java Format 0.0.34
Closes gh-31524
2 years ago
Andy Wilkinson 0bc514593f Polish "Use pattern matching for instanceof where appropriate"
See gh-31475
2 years ago
dreis2211 5db04da275 Use pattern matching for instanceof where appropriate
See gh-31475
2 years ago
dreis2211 fb45fc4819 Use Files.writeString() and Files.readString() where possible
See gh-31459
2 years ago
Andy Wilkinson fabe0637cd Raise the minimum supported version of Kotlin to 1.7
Closes gh-31391
2 years ago
Andy Wilkinson 0c0d3f27c4 Merge branch '2.7.x'
Closes gh-31389
2 years ago
Andy Wilkinson 88128ccc97 Merge branch '2.6.x' into 2.7.x
Closes gh-31388
2 years ago
Andy Wilkinson 5a028e059c Align buildSrc's Kotlin version with the main build
Closes gh-31387
2 years ago
Andy Wilkinson 228be786ca Polish 2 years ago
Andy Wilkinson 4bb5ba2bd0 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 935d1264e0 Merge branch '2.6.x' into 2.7.x 3 years ago
Andy Wilkinson 3d203d0215 Polish 3 years ago
Andy Wilkinson 5dfa5adb75 Merge branch '2.7.x'
Closes gh-31178
3 years ago
Andy Wilkinson 455ee0ce22 Merge branch '2.6.x' into 2.7.x
Closes gh-31177
3 years ago
Andy Wilkinson ee45fd2fc8 Remove redundant throws declarations from internal APIs
Closes gh-31176
3 years ago
Andy Wilkinson 003f747e77 Merge branch '2.7.x'
Closes gh-31170
3 years ago
Andy Wilkinson e617035dba Merge branch '2.6.x' into 2.7.x
Closes gh-31167
3 years ago
Andy Wilkinson 3e7bd582a3 Upgrade to Spring Java Format 0.0.33
Closes gh-31166
3 years ago
Phillip Webb 06f8041e4d Merge branch '2.7.x' 3 years ago
Phillip Webb d5d5997be7 Merge branch '2.6.x' into 2.7.x 3 years ago
Phillip Webb 99f5c781a5 Merge branch '2.5.x' into 2.6.x 3 years ago
Phillip Webb 350d27fe50 Polish code to use method references when possible 3 years ago
Andy Wilkinson 395cfd068b Merge branch '2.7.x' 3 years ago
Andy Wilkinson 9fcb5749ba Merge branch '2.6.x' into 2.7.x 3 years ago
Andy Wilkinson 195b12e1ea Merge branch '2.5.x' 3 years ago
Andy Wilkinson ac65d35f75 Improve diagnostics for 403 response to upgrade issue creation
See gh-30304
3 years ago
Andy Wilkinson 48c948973d Polish 3 years ago
Andy Wilkinson d0e55643b1 Polish
Closes gh-30993
3 years ago
Andy Wilkinson 1fd9c4d82c Polish
Closes gh-30992
3 years ago
izeye 624c41c80e Polish
See gh-30862
3 years ago
Andy Wilkinson 9711160190 Merge branch '2.7.x' 3 years ago
Andy Wilkinson dacfae2d59 Merge branch '2.6.x' into 2.7.x
Closes gh-30991
3 years ago
Andy Wilkinson 075d01db54 Merge branch '2.5.x' into 2.6.x
Closes gh-30990
3 years ago
Andy Wilkinson d5f4323f53 Upgrade to Test Retry Gradle Plugin 1.4.0
Closes gh-30989
3 years ago
Andy Wilkinson 61995d762f Merge branch '2.7.x' 3 years ago
Andy Wilkinson fb121a1d40 Merge branch '2.6.x' into 2.7.x
Closes gh-30836
3 years ago
Andy Wilkinson de1cda786e Merge branch '2.5.x' into 2.6.x
Closes gh-30835
3 years ago
Andy Wilkinson d338df513a Avoid stale inputs by using sync rather than copy
Closes gh-30829
3 years ago
Phillip Webb c7374fd415 Update copyright year of changed files 3 years ago
Stephane Nicoll a4cccc98c6 Merge branch '2.7.x' 3 years ago
izeye ed412af138 Polish
See gh-30695
3 years ago
Andy Wilkinson dd812a3f76 Upgrade to Groovy 4.0.1
Closes gh-30279
3 years ago
Andy Wilkinson 5736f5401b Merge branch '2.7.x' 3 years ago
Andy Wilkinson c0a72bf5ea Merge branch '2.6.x' into 2.7.x
Closes gh-30167
3 years ago
Andy Wilkinson 4c1d1a6a69 Merge branch '2.5.x' into 2.6.x
Closes gh-30166
3 years ago
Andy Wilkinson cced7edd9c Document Devtools' property defaults directly in reference docs
Closes gh-29406
3 years ago
Andy Wilkinson b3588cf8c3 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 3c80049ccc Merge branch '2.6.x' into 2.7.x
Closes gh-30138
3 years ago
Andy Wilkinson a31135ebfc Merge branch '2.5.x' into 2.6.x
Closes gh-30137
3 years ago
Andy Wilkinson 0e627b00b3 Remove --illegal-access=warn from toolchain configuration
As of Java 17, it is ignored. Our Toolchain-based builds use at least
Java 17 so specifying it no longer has any effect.

Closes gh-30122
3 years ago
Andy Wilkinson 573934d545 Only treat warnings as errors when compiling with Java 17 3 years ago
Stephane Nicoll 0a81c238c2 Compile Kotlin code with a JVM target of 17
Closes gh-29956
3 years ago
Stephane Nicoll 099e811a38 Raise the minimum supported version of Kotlin to 1.6
Closes gh-29660
3 years ago
Andy Wilkinson 1547bad452 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 1f8c5942cf Merge branch '2.6.x' into 2.7.x
Closes gh-30030
3 years ago
Andy Wilkinson 4ac884ee2d Merge branch '2.5.x' into 2.6.x
Closes gh-30029
3 years ago
Andy Wilkinson 69ce392c34 Add support for classifiers when defining a bom
Closes gh-29298
3 years ago
Phillip Webb 5454e2e26a Merge branch '2.7.x' 3 years ago
Phillip Webb 9f00c3acf5 Polish 3 years ago
Andy Wilkinson 132bf686f8 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 2d9177dd9d Merge branch '2.6.x' into 2.7.x
Closes gh-29955
3 years ago
Andy Wilkinson 3614c8d1f8 Merge branch '2.5.x' into 2.6.x
Closes gh-29954
3 years ago
Andy Wilkinson 1e8d29f7aa Configure Kotlin compilation JVM target by convention
Closes gh-29952
3 years ago
Andy Wilkinson 834f07083d Merge branch '2.7.x' 3 years ago
Andy Wilkinson 43c339824c Merge branch '2.6.x' into 2.7.x
Closes gh-29924
3 years ago
Andy Wilkinson 30fcc195b4 Merge branch '2.5.x' into 2.6.x
Closes gh-29923
3 years ago
Andy Wilkinson 4cb8ae6c8a Try to avoid hitting secondary rate limit when opening issues
GitHub employs a secondary rate limit for actions that can trigger
notifications, such as opening a new issue. To avoid hitting this
limit, they recommend [1] waiting at least one second between each
request.

This commit attempts to comply with this guidance by adding a
one-second sleep prior to each POST request that opens an issue.

Closes gh-29879

[1] https://docs.github.com/en/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits
3 years ago
Andy Wilkinson 1940f7a5d9 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 6493c7c561 Merge branch '2.6.x' into 2.7.x
Closes gh-29922
3 years ago