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
Andy Wilkinson
fcd52c02a7
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29921
3 years ago
Andy Wilkinson
55f68989d8
Remove redundant action to make plugins dat file reproducible
...
Closes gh-29917
3 years ago
Moritz Halbritter
d42f675959
Merge branch '2.7.x'
3 years ago
Moritz Halbritter
d7b229d3c7
Rename AutoConfigurationLoader to ImportCandidates
...
Move the class to a more suitable package, and load the files from
META-INF/spring/<fqn>.imports
See gh-29872
3 years ago
Andy Wilkinson
8209980ca0
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
027093d852
Use a templated source file for SpringBootVersion
...
Closes gh-29670
3 years ago
Moritz Halbritter
829ff4d03f
Merge branch '2.7.x'
3 years ago
Moritz Halbritter
2afa02c856
Fix missing test slice configuration
...
Test slices are now longer registered in spring.factories, but
TestSliceMetadata still looked there for them to generate documentation.
Fixed this so that TestSliceMetadata now looks in the right places for
test slices.
See gh-29873
3 years ago
Moritz Halbritter
303979fb65
Merge branch '2.7.x'
3 years ago
Moritz Halbritter
7d68b58c8f
Load auto-configurations from META-INF/spring-boot
...
Implements a new AutoConfigurationLoader, which loads
auto-configurations from a file in META-INF/spring-boot.
Adapts the AutoConfigurationImportSelector to use the new loader.
Adapts the ImportAutoConfigurationImportSelector to use the new loader.
Adapts the metadata plugin in the build to additionally load the
auto-configurations from the new file.
Updates the documentation for auto-configurations and test slices.
Closes gh-29872
3 years ago
Phillip Webb
f4b849ec95
Merge branch '2.7.x'
3 years ago
Phillip Webb
26512f8ac6
Merge branch '2.6.x' into 2.7.x
3 years ago
Phillip Webb
5b4ec32645
Merge branch '2.5.x' into 2.6.x
3 years ago
Phillip Webb
c86b1330cf
Update copyright year of changed files
3 years ago
Scott Frederick
79e5d3a2d0
Merge branch '2.7.x' into main
3 years ago
Scott Frederick
f80490bafb
Precompute Spring Boot version at build time
...
Closes gh-29670
3 years ago
Andy Wilkinson
3b5e7ee0a8
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
7e8d499333
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29690
3 years ago
Andy Wilkinson
093e8a524d
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29689
3 years ago
Moritz Halbritter
52d9ba58d8
Move appendix subsections under appendix section
...
This involved a small code change to the generated configuration
properties snippets. The section id has to start with
'appendix.', otherwise the section-id asciidoctor extension
complains. To ensure that the anchors that are derived from the
section IDs remain backwards compatible, the anchor-rewrite
properties have been updated.
See gh-29667
3 years ago
Andy Wilkinson
977a0a8356
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
2fec7b8562
Only use Kotlin 1.6 API and language versions in docs project
...
To preserve our existing Kotlin 1.3 baseline, we should compile our
Kotlin code with Kotlin 1.3 API and language versions. At the same
time, we want our documentation to use modern Kotlin. This commit
restores the 1.3 convention and overrides it to 1.6 in the docs
project. This maintains our Kotlin 1.3 baseline while also allowing
the Kotlin code examples to use 1.6 API and language features.
Closes gh-29654
3 years ago
Phillip Webb
a6b7ae2110
Merge branch '2.7.x'
3 years ago
Phillip Webb
71695d2162
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29658
3 years ago
Phillip Webb
05c58a18df
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29657
3 years ago
Phillip Webb
12a33a2eaf
Upgrade to spring-asciidoctor-backends 0.0.3
...
Closes gh-29656
3 years ago
Phillip Webb
50047e6d8c
Merge branch '2.7.x'
3 years ago
Phillip Webb
6c74e24147
Update copyright year of changed files
3 years ago
Phillip Webb
8ed5d15cd3
Merge branch '2.7.x'
3 years ago
Phillip Webb
d33d92dfce
Polish KotlinConventions
3 years ago
Phillip Webb
f8c2bff825
Use Kotlin 1.6 for API and language version
...
Closes gh-29654
3 years ago
Phillip Webb
a726210afc
Merge branch '2.7.x'
3 years ago
Phillip Webb
546cad06db
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29635
3 years ago
Phillip Webb
c01cee18b5
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29634
3 years ago
Phillip Webb
79fc77fade
Upgrade to spring-javaformat 0.0.31
...
Closes gh-29633
3 years ago
Andy Wilkinson
f2ac7d10ef
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
8480abca20
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29561
3 years ago
Andy Wilkinson
fe43d527b5
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29560
3 years ago
Andy Wilkinson
3ed65f2383
Avoid running Maven plugin ITs for each s-b-dependencies change
...
Closes gh-28781
3 years ago
Andy Wilkinson
b8983cef59
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
cd426fd21e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29547
3 years ago
Andy Wilkinson
75c3bff765
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29546
3 years ago
Andy Wilkinson
761bed6c48
Upgrade buildSrc to Spring Framework 5.3.15
...
Closes gh-29545
3 years ago
Phillip Webb
fb83e6930d
Merge branch '2.7.x'
3 years ago
Phillip Webb
b31e9d6b4a
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29492
3 years ago
Phillip Webb
1f61c36f7a
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29491
3 years ago
Andy Wilkinson
66428527e0
Minimize tasks run in ConventionsPluginTests
...
Update `ConventionsPluginTests` so that dependency resolution is
not required. This provides a work-around for our currently failing
Windows build.
Closes gh-29490
3 years ago
Andy Wilkinson
12cd97a20c
Reinstate support for Thymeleaf
3 years ago
Stephane Nicoll
119b920969
Merge branch '2.7.x'
3 years ago
Stephane Nicoll
f3d99f9ccc
Merge branch '2.6.x' into 2.7.x
3 years ago
Stephane Nicoll
01c19ef444
Merge branch '2.5.x' into 2.6.x
3 years ago
Stephane Nicoll
a0537888f5
Upgrade build to Log4j 2.17.1
3 years ago
Stephane Nicoll
3ef03cddb9
Merge branch '2.7.x'
3 years ago
Stephane Nicoll
9c868751d6
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29199
3 years ago
Stephane Nicoll
f54ea67ed6
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29198
3 years ago
dreis2211
7a87d18b12
Update copyrights to 2022
...
See gh-29195
3 years ago
Brian Clozel
f61c87c3a7
Revert "Merge branch '2.7.x'"
...
This reverts commit f0677a119c
, reversing
changes made to 938d58f32c
.
3 years ago
Brian Clozel
f0677a119c
Merge branch '2.7.x'
3 years ago
Brian Clozel
de808834f5
Auto-configure Spring GraphQL base infrastructure
...
This commit adds the auto-configuration for setting up the base Spring
GraphQL infrastructure. Because GraphQL doesn't depend on any particular
transport, we must have a separate configuration for creating:
* the `GraphQlSource`, which holds the schema and the `GraphQL` instance
* the `GraphQlService` for executing incoming requests
* the `BatchLoaderRegistry` for batch loading support
* the `AnnotatedControllerConfigurer` for supporting the annotated
controllers programming model
This comes with a starting point for the `"spring.graphql.*"`
configuration properties; we can now configure the locations and file
extensions of GraphQL schema files we should load and configure at
startup.
See gh-29140
3 years ago
Madhura Bhave
34f96514ad
Fix link to source code in snapshot documentation
...
Fixes gh-28856
3 years ago
Stephane Nicoll
e994ee3be5
Merge branch '2.7.x'
...
See gh-28986
3 years ago
Stephane Nicoll
821f7086d9
Merge branch '2.6.x' into 2.7.x
...
See gh-28985
3 years ago
Stephane Nicoll
e048562c34
Merge branch '2.5.x' into 2.6.x
...
See gh-28984
3 years ago
Stephane Nicoll
21e54a595e
Upgrade Build to Log4j 2.17.0
...
See gh-28983
3 years ago
Phillip Webb
003fb229fd
Merge branch '2.7.x'
3 years ago
Phillip Webb
f3bcbca841
Update copyright year of changed files
3 years ago
Scott Frederick
07243539bd
Remove unused import
...
See gh-29029
3 years ago
Scott Frederick
caf49783d4
Merge branch '2.7.x'
3 years ago
Scott Frederick
a773af0387
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29073
3 years ago
Scott Frederick
9e6709eda0
Enable caching for system tests in CI
...
Setting the `systemTest` Gradle task output as never up-to-date ensures
that all system tests are executed each time they are run in CI. The
`--rerun-tasks` Gradle option that was used previously had the same
effect but also disabled build caching.
Closes gh-29029
3 years ago
Stephane Nicoll
1c72330bd9
Upgrade to Log4j2 2.16.0
...
Closes gh-28986
3 years ago
Stephane Nicoll
894eb83e66
Upgrade to Log4j2 2.16.0
...
Closes gh-28985
3 years ago
Stephane Nicoll
15ade0b5d3
Upgrade to Log4j2 2.16.0
...
Closes gh-28984
3 years ago
Stephane Nicoll
4c57d1717d
Upgrade to Log4j2 2.16.0
...
Closes gh-28983
3 years ago
Stephane Nicoll
9f07bb50b2
Merge branch '2.7.x'
3 years ago
Stephane Nicoll
0c1a8c2c5e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29009
3 years ago
Stephane Nicoll
91593eeea3
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29008
3 years ago
Arun Suresh
43f3d0dea0
Upgrade Build to Log4j 2.15.0
...
See gh-29006
3 years ago
Andy Wilkinson
91faec3917
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
51e0fc4b6b
Merge branch '2.6.x' into 2.7.x
...
See gh-28879
3 years ago
Andy Wilkinson
f0f0aa5c46
Merge branch '2.5.x' into 2.6.x
...
See gh-28878
3 years ago
Andy Wilkinson
8322dda8cc
Fix variant selection in spring-boot-maven-plugin
...
See gh-28877
3 years ago
Andy Wilkinson
95025d442f
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
bad05a7860
Merge branch '2.6.x' into 2.7.x
...
Closes gh-28879
3 years ago
Andy Wilkinson
c7c7592899
Merge branch '2.5.x' into 2.6.x
...
Closes gh-28878
3 years ago
Andy Wilkinson
25bdc097a0
Make poms of all dependencies available in int test repo
...
Closes gh-28877
3 years ago
Andy Wilkinson
87a5b72aa5
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
f3957b7639
Merge branch '2.6.x' into 2.7.x
...
Closes gh-28865
3 years ago
Andy Wilkinson
9d4375bc12
Merge branch '2.5.x' into 2.6.x
...
Closes gh-28864
3 years ago
Andy Wilkinson
572bd6ca5c
Upgrade to test-retry-gradle-plugin 1.3.1
...
Closes gh-28863
3 years ago
Scott Frederick
015dca1956
Remove support for Thymeleaf
...
Closes gh-28611
3 years ago
Andy Wilkinson
8bf2ffd93c
Drop support for Jersey until jersey-spring6 is available
...
Closes gh-28808
3 years ago
Andy Wilkinson
900085628a
Raise the minimum supported version of Java to 17
...
Closes gh-28101
3 years ago
Andy Wilkinson
814c86c5e8
Raise the minimum supported version of Gradle to 7.3
...
Closes gh-28100
3 years ago
Andy Wilkinson
75c117a33f
Prepare 2.7.x branch
3 years ago
Andy Wilkinson
354a18c9a6
Prepare 2.6.x branch
3 years ago
Phillip Webb
beb68671bb
Update copyright year of changed files
3 years ago
Andy Wilkinson
381c094c41
Merge branch '2.5.x'
3 years ago
Andy Wilkinson
8f0e12dc34
Revert accidentally committed changes
...
This partially reverts commit c083e0b049
.
3 years ago
Andy Wilkinson
c0d90dfa8f
Merge branch '2.5.x'
...
Closes gh-28749
3 years ago
Andy Wilkinson
c083e0b049
Avoid using temp before @TempDir has initialized it
...
Closes gh-28748
3 years ago
Andy Wilkinson
00fa0fb769
Merge branch '2.5.x'
...
Closes gh-28746
3 years ago
Andy Wilkinson
f2b959b0a5
Add <type>zip</type> to Elasticsearch dist in dependencies bom
...
Fixes gh-28725
3 years ago
Andy Wilkinson
2a342ef416
Merge branch '2.5.x'
...
Closes gh-28662
3 years ago
Andy Wilkinson
5e4a502b2d
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28661
3 years ago
Andy Wilkinson
2cec3971d7
Prohibit unwanted dependencies in all modules not just starters
...
Closes gh-28658
3 years ago
Andy Wilkinson
51dc02e37b
Merge branch '2.5.x'
...
See gh-28485
3 years ago
Andy Wilkinson
28d323ee3a
Merge branch '2.4.x' into 2.5.x
...
See gh-28484
3 years ago
Andy Wilkinson
b9e3660833
Revert running tests in parallel
...
See gh-19876
3 years ago
Andy Wilkinson
c7a2d61aee
Merge branch '2.4.x'
...
Closes gh-28485
3 years ago
Andy Wilkinson
7fe6f4887c
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28484
3 years ago
Andy Wilkinson
22d85e6d7b
Allow tests to be run in parallel across multiple workers
...
Closes gh-19876
3 years ago
Phillip Webb
66aa713b85
Merge branch '2.5.x'
3 years ago
Phillip Webb
467e063d4b
Merge branch '2.4.x' into 2.5.x
3 years ago
Phillip Webb
8e704aab48
Restore 'javax.xml.bind:jaxb-api' exclusion
...
Restore the 'javax.xml.bind:jaxb-api' exclusion from `xmlunit-core`
which is actually required when using Maven on Java 9+.
The `CheckClasspathForUnnecessaryExclusions` cannot deal with profile
specific dependencies so an exception has been hard coded.
See gh-28332
3 years ago
Phillip Webb
e95b0b5257
Polish
3 years ago
Andy Wilkinson
37a7144426
Merge branch '2.5.x'
...
Closes gh-28343
3 years ago
Andy Wilkinson
1a30c660f3
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28342
3 years ago
Andy Wilkinson
adb9226dec
Prohibit org.apache.geronimo.specs dependencies in our starters
...
Closes gh-28338
3 years ago
Andy Wilkinson
2d837a6eae
Merge branch '2.5.x'
...
Closes gh-28337
3 years ago
Andy Wilkinson
3800f060b5
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28336
3 years ago
Andy Wilkinson
2fb8c8d27e
Check starters for unnecessary exclusions
...
Closes gh-28332
3 years ago
Andy Wilkinson
191b50241d
Merge branch '2.5.x'
...
Closes gh-28331
3 years ago
Andy Wilkinson
d3037103fe
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28330
3 years ago
Andy Wilkinson
9f13941c2f
Prohibit org.jboss.spec.* dependencies
...
Closes gh-28329
3 years ago
Phillip Webb
2034ad4827
Merge branch '2.5.x'
3 years ago
Phillip Webb
02b577390f
Merge branch '2.4.x' into 2.5.x
3 years ago
Phillip Webb
0561992c2a
Update copyright year of changed files
3 years ago
Andy Wilkinson
1a505964ee
Merge branch '2.5.x'
...
Closes gh-28207
3 years ago
Andy Wilkinson
1931104d13
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28206
3 years ago
Andy Wilkinson
9c9fbf400e
Upgrade to Spring Java Format 0.0.29
...
Closes gh-28205
3 years ago
Andy Wilkinson
0b58d4858d
Merge branch '2.5.x'
...
Closes gh-28200
3 years ago
Andy Wilkinson
322615d9c5
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28199
3 years ago
Andy Wilkinson
8c3820f87e
Fix up-to-date checking of syncAppSource tasks
...
Previously, the project version was used while filtering the apps
source during syncing but it was not considered as an input to
the task. This could result in the syncing being skipped even though
the project's version had changed.
This commit introduces a new custom task to make the configuration
more declarative and to allow the necessary input configuration to be
done in a single place.
Closes gh-28197
3 years ago
Andy Wilkinson
ea68672594
Merge branch '2.5.x'
...
Closes gh-28153
3 years ago
Andy Wilkinson
9e484e2cdc
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28152
3 years ago
Andy Wilkinson
3824512357
Tighten up build's task interdependencies
...
Closes gh-28103
3 years ago
dreis2211
cf0fcafd13
Polish
...
See gh-27940
3 years ago
Andy Wilkinson
7c034c33e2
Merge branch '2.5.x'
...
Closes gh-27967
3 years ago
Andy Wilkinson
f530819d68
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27966
3 years ago
Andy Wilkinson
273600bcdd
Retain distinction between compile and runtime deps of optional deps
...
Previously, the optional configuration was added to the compile and
runtime classpaths of each source set and the the javadoc classpath
as well. This had a few disadvantages, the most notable of which is
that it meant that the configuration was ifrst resolved and then
the outcome of the resolution was added to the compile and runtime
classpaths. As a result, none of the attributes on the compile and
runtime classpaths were considered to influence variant selection.
This commit reworks the optional dependencies plugin so that the
compile and runtime classpaths of each source set are now configured
to extend from the optional configuration. This allows each
classpath configuration's attributes to influence the dependencies
that are selected from the optional configuration during resolution.
For example, when resolving the compile classpath, compile
dependencies (Usage.JAVA_API) will be selected and when resolving the
runtime classpath, runtime dependencies (Usage.JAVA_RUNTIME) will be
selected.
The above-described change means that runtime dependencies of an
optional dependencies will no longer leak into the compile classpath.
As a result of this, our Gradle plugin's test infrastructure has
been updated so that it no longer references runtime dependencies of
the Kotlin Gradle plugin at compile time.
Closes gh-27965
3 years ago
Andy Wilkinson
69d4e273d3
Merge branch '2.5.x'
...
Closes gh-27787
3 years ago
Andy Wilkinson
3566e5881b
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27786
3 years ago
Andy Wilkinson
9f402f0428
Use snapshot rather than libs-snapshot when generating effective bom
...
Closes gh-27785
3 years ago
Andy Wilkinson
fd2fbcb3c6
Merge branch '2.5.x'
...
Closes gh-27758
3 years ago
Andy Wilkinson
6d8ba3e8b1
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27757
3 years ago
Andy Wilkinson
ffbd28b60a
Polish "Polish access modifiers for test classes"
...
See gh-27736
3 years ago
izeye
8a425dedfd
Polish access modifiers for test classes
...
See gh-27736
3 years ago
Andy Wilkinson
2dfdcf5e88
Merge branch '2.5.x'
...
Closes gh-27754
3 years ago
Andy Wilkinson
0d904b8868
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27753
3 years ago
Andy Wilkinson
0b7994a679
Polish "Use 2012 for copyright beginning year"
...
See gh-27734
3 years ago
izeye
07da144826
Use 2012 for copyright beginning year
...
See gh-27734
3 years ago
Andy Wilkinson
44884cc495
Merge branch '2.5.x'
...
Closes gh-27752
3 years ago
Andy Wilkinson
10ceb504ae
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27751
3 years ago
Andy Wilkinson
32c184e31c
Revert changes made to work around JDK-8156584
...
Closes gh-26848
3 years ago
Andy Wilkinson
af13125796
Merge branch '2.5.x'
...
Closes gh-27498
3 years ago
Andy Wilkinson
9127588082
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27497
3 years ago
Andy Wilkinson
ea6cb74ccf
Ignore Spring Boot when finding dependency upgrades
...
Closes gh-27447
3 years ago
Andy Wilkinson
a5ec7560f5
Merge branch '2.5.x'
...
Closes gh-27314
3 years ago
dreis2211
e4978f604c
Fix JDK 16 pipeline
...
See gh-27310
3 years ago
Andy Wilkinson
9ccd6a6f2f
Merge branch '2.5.x'
...
Closes gh-27307
3 years ago
Andy Wilkinson
705feeed6a
Polish "Allow additional JVM args when running tests via toolchain"
...
See gh-27089
3 years ago
dreis2211
01b0156fed
Allow additional JVM args when running tests via toolchain
...
See gh-27089
3 years ago
Scott Frederick
18c7c0af22
Add Paketo image building system tests
...
A new system test plugin is being made available for running test
suites that should be run less frequently than with every commit, such
as tests that verify Spring Boot compatibility with external
projects. CI pipeline configuration for running system tests is also
provided.
The first system tests verify the behavior of the Spring Boot image
building plugins when building images using Paketo buildpacks.
Closes gh-25824
3 years ago
Andy Wilkinson
fcf7240f3c
Merge branch '2.5.x'
...
See gh-27047
3 years ago
Andy Wilkinson
f7140d0401
Merge branch '2.4.x' into 2.5.x
...
See gh-27045
3 years ago
Andy Wilkinson
316d2cce89
Don't offer upgrade for version that is already aligned
...
See gh-27044
3 years ago
Phillip Webb
6102f10639
Merge branch '2.5.x'
3 years ago
Phillip Webb
2c518f1dff
Merge branch '2.4.x' into 2.5.x
3 years ago
Phillip Webb
a76e5c043e
Update copyright year of changed files
3 years ago
Andy Wilkinson
aa3d72cb05
Merge branch '2.5.x'
...
See gh-27047
3 years ago
Andy Wilkinson
5139c79c4f
Merge branch '2.4.x' into 2.5.x
...
See gh-27045
3 years ago
Andy Wilkinson
4d694ddaa8
Fix bom plugin management versions
...
See gh-27044
3 years ago
Andy Wilkinson
5d6a612b4b
Merge branch '2.5.x'
...
Closes gh-27047
3 years ago
Andy Wilkinson
ec2a7b9a5b
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27045
3 years ago
Andy Wilkinson
363de4cfa5
Add dependency lock and constraint version alignment to Bomr
...
Closes gh-27044
3 years ago
Andy Wilkinson
06778abb61
Merge branch '2.5.x'
...
See gh-26934
3 years ago
Andy Wilkinson
577c58b798
Merge branch '2.4.x' into 2.5.x
...
See gh-26933
3 years ago
Andy Wilkinson
ac8c6a6fb7
Tune config of source and target compatilility with toolchain
...
See gh-26932
3 years ago
Andy Wilkinson
2106114f64
Merge branch '2.5.x'
...
Closes gh-26934
3 years ago
Andy Wilkinson
560d272db3
Merge branch '2.4.x' into 2.5.x
...
Closes gh-26933
3 years ago
Andy Wilkinson
6e43dd879b
Allow Eclipse to properly detect source and target compatibility
...
Previously, our conventions configured the source and target
compatibility on the project's JavaCompile tasks. This causes the
settings to be missed when importing the projects into Eclipse [1].
This commit updates the conventions to set the source and target
compatibility on the project-wide JavaPluginExtension. This allows
the Eclipse import to correctly detect and honour the settings.
Closes gh-26932
[1] https://github.com/eclipse/buildship/issues/978
3 years ago
Andy Wilkinson
0f52bbc560
Stop using ConfigureUtil in BomExtension
...
While we're building with Gradle 6.9 at the moment and ConfigureUtil
has only been deprecated in Gradle 7.1, it doesn't do any harm to
stop using it now.
Closes gh-26928
3 years ago
Phillip Webb
28abcf88a0
Upgrade to spring-asciidoctor-backends 0.0.2
...
Closes gh-26846
3 years ago
Andy Wilkinson
de410b7621
Merge branch '2.4.x'
...
Closes gh-26828
3 years ago
Andy Wilkinson
a1c5fcca58
Move common Asciidoctor configuration into our conventions
...
Closes gh-26620
3 years ago
Phillip Webb
f798f26596
Merge branch '2.4.x'
3 years ago
Phillip Webb
6424e3de12
Merge branch '2.4.x'
...
Closes gh-26671
4 years ago
Phillip Webb
14f578ed80
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26670
4 years ago
Phillip Webb
39e3746cf6
Force Eclipse to use JavaSE-1.8 runtime
...
Add `EclipseConventions` to force the JavaSE-1.8 runtime to be applied
to the imported projects.
Closes gh-26669
4 years ago
Phillip Webb
60a8fae65c
Upgrade to spring-asciidoctor-backends 0.0.1
...
Closes gh-26293
4 years ago
Phillip Webb
f0896c2de6
Rework title anchors for maven docs
...
Closes gh-26617
4 years ago
Phillip Webb
34b288e5fe
Add prefix to appendix property anchor links
...
Refactor property appendix generator code so that the complete section
is generated and anchors follow the expected naming.
Closes gh-26375
4 years ago
Andy Wilkinson
a6dd97e40d
Polish
...
See gh-26576
4 years ago
Andy Wilkinson
763e58e392
Merge branch '2.4.x'
...
Closes gh-26576
4 years ago
Andy Wilkinson
ad5ba2e414
Compile Kotlin code will all warnings treated as errors
...
Closes gh-26083
4 years ago
Andy Wilkinson
aaceb9565c
Upgrade to Kotlin 1.5.0
...
Closes gh-26553
4 years ago
Andy Wilkinson
f7d28567c0
Merge branch '2.4.x'
...
Closes gh-26520
4 years ago
dreis2211
6179b99710
Remove add-opens workaround in ToolchainPlugin
...
See gh-26465
4 years ago
Phillip Webb
87d8aedd3c
Use spring-pdf backend for PDF generation
...
Update `asciidoctorPdf` tasks to use the `spring-pdf` backend so that
chomped elements and @fold:on/@fold:off comments are hidden.
Closes gh-26373
4 years ago
Stephane Nicoll
8d2fa26a99
Start building against Spring LDAP 2.3.4 snapshots
...
See gh-26394
4 years ago
Stephane Nicoll
a5cb9540ca
Start building against Spring LDAP 2.3.4 snapshots
...
See gh-26393
4 years ago
Andy Wilkinson
f17af829ee
Merge branch '2.4.x'
...
Closes gh-26354
4 years ago
Andy Wilkinson
75bb50bd02
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26353
4 years ago
Andy Wilkinson
deca737b01
Configure source and target compatibility at the task level
...
Closes gh-26350
4 years ago
Andy Wilkinson
5a3c354e6c
Merge branch '2.4.x'
...
Closes gh-26303
4 years ago
Andy Wilkinson
4abd6b1387
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26302
4 years ago
Andy Wilkinson
3cc1ed28ca
Order test tasks to run after Checkstyle and formatting checks
...
Closes gh-26284
4 years ago
Phillip Webb
3d9eb9e413
Switch to spring-asciidoctor-backends SNAPSHOT
...
See gh-26293
4 years ago
Andy Wilkinson
1be8c8fda9
Merge branch '2.4.x'
...
See gh-26261
4 years ago
Andy Wilkinson
4417e16963
Merge branch '2.3.x' into 2.4.x
...
See gh-26260
4 years ago
Andy Wilkinson
3a3eb1bc31
Fix workaround for JDK-8156584
...
See gh-26252
4 years ago
Andy Wilkinson
c548693fa1
Merge branch '2.4.x'
...
See gh-26261
4 years ago
Andy Wilkinson
097a436314
Merge branch '2.3.x' into 2.4.x
...
See gh-26260
4 years ago
Andy Wilkinson
ecd1e536cc
Refine workaround for JDK-8156584
...
The previous workaround worked but prevented caching of every test
task as the value of system property pointing to the custom security
properties file varied from build to build.
This commit refines the workaround to copy the file into the build
directory of the test task's project and reference it using a URL
that's relative to the task's working directory. This ensures that
the value of the system property doesn't change from build to build.
Closes gh-26252
4 years ago
Andy Wilkinson
03149eda9e
Merge branch '2.4.x'
...
Closes gh-26278
4 years ago
Andy Wilkinson
9cd15a1360
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26276
4 years ago
Andy Wilkinson
79ecf596ec
Set path sensitivity when configuring additional task inputs
...
Previously a number of file- or directory-based task inputs were
configured with specifying their path sensitivity. This meant
that the default absolute path sensitivity was used. For caches
that are cacheable this would result in a cache miss when the
inputs were identical other than being located at a different
absolute path as they are when running a CI build vs a local build.
This commit updates the configuration of additional task inputs
to use relative path sensitivity. A property name for each input has
also been configured. This makes them easier to identify in build
scans.
Closes gh-26270
4 years ago
Andy Wilkinson
e7c1c8937d
Merge branch '2.4.x'
...
Closes gh-26261
4 years ago
Andy Wilkinson
79d27344e0
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26260
4 years ago
Andy Wilkinson
912c82e50d
Work around https://bugs.openjdk.java.net/browse/JDK-8156584
...
sun.security.x509.AlgorithmId.get(String) isn't thread-safe and can
lead to null be returned for an algorithm that should be present.
This commit aims to work around this problem by avoiding the call
to AlgorithmId.get(String). It does so by configuring the
PKCS12 key protection algorithm to one that starts with
pbewithhmacsha (case insensitive). This short-circuits the logic
in PKCS12KeyStore.mapPBEAlgorithmToOID(String) and avoids the call to
AlgorithmId.get(String). Thanks again to @dreis2211 for the
suggestion.
The work around is only used when building with Java 8 as the problem
was fixed in Java 9.
Closes gh-26252
4 years ago
dreis2211
5219697eb7
Fix GitHub tag determination following main branch rename
...
See gh-26253
4 years ago
Phillip Webb
beaf03a008
Update copyright year of changed files
4 years ago
Phillip Webb
b4c9bb0d5c
Merge branch '2.4.x'
...
Closes gh-26122
4 years ago
Phillip Webb
fb3796dae8
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26121
4 years ago
Phillip Webb
fcb2210a87
Include optional shade plugin in published pom
...
Update `MavenPublishingConventions` to add a new `mavenOptional` feature
that allows us to declare optional dependencies that are also published
in the generated POM.
This change allows us to include the maven-shade-plugin in the
spring-boot-maven-plugin POM which fixes an issue with Eclipse m2e.
Fixes gh-21992
4 years ago
Andy Wilkinson
47709ec0e4
Align buildSrc's Kotlin version with main project's
...
See gh-26080
4 years ago
Stephane Nicoll
68046dd748
Update copyright year of changed file
...
See gh-25986
4 years ago
dreis2211
ea55ca9971
Remove unused method parameters
...
See gh-25986
4 years ago
Andy Wilkinson
734abc8127
Merge branch '2.4.x'
...
See gh-25988
4 years ago
Andy Wilkinson
92f9cfaf25
Merge branch '2.3.x' into 2.4.x
...
See gh-25987
4 years ago
Andy Wilkinson
709db5582b
Ensure that classes and resources are in place before documenting
...
Closes gh-25948
4 years ago
Andy Wilkinson
92dfcc5994
Merge branch '2.4.x'
...
Closes gh-25988
4 years ago
Andy Wilkinson
7cffb89647
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25987
4 years ago
Andy Wilkinson
d7b43a3c68
Filter out non-public classes when documenting auto-config classes
...
Fixes gh-25948
4 years ago
Andy Wilkinson
660dc5fcd7
Merge branch '2.4.x'
...
Closes gh-25900
4 years ago
Andy Wilkinson
8cd08c3926
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25899
4 years ago
Andy Wilkinson
7c8caf9ef5
Configure Kotlin compilation to use 1.3 apiVersion and languageVersion
...
Closes gh-25793
4 years ago
Phillip Webb
807ea1af0d
Update copyright year of changed files
4 years ago
Andy Wilkinson
5b111093c6
Merge branch '2.4.x'
...
Closes gh-25896
4 years ago
Andy Wilkinson
1e4f130133
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25895
4 years ago
Andy Wilkinson
76f74482d4
Make Asciidoctor tasks run when Java examples are updated
...
Closes gh-25892
4 years ago
Brian Clozel
fe1011c23d
Add Netty memory leak detection config property
...
This commit adds a new `spring.netty.leak-detection` configuration
property that selects the level of memory leak detection for the Netty
engine.
This configuration is applied statically to Netty; this means all
(non-shaded) Netty usages as client or server will be impacted by this
change.
Developers might use this property during development or tests to find
causes of memory leaks when dealing with Netty buffers.
Closes gh-14338
4 years ago
dreis2211
a9a37f0dd5
Increase test coverage on Java 16
...
See gh-25809
4 years ago
Andy Wilkinson
90b4ced7a6
Move DataSource init auto-config out of DataSourceAutoConfiguration
...
Previously, the auto-configuration for DataSource initialization and
the properties used to configure it were part of the general
DataSource auto-configuration and properties.
This commit moves the auto-configuration of DataSource initialization
out into a separate top-level auto-configuration class. Similarly,
the properties for configuring DataSource initialization have been
moved from `spring.datasource.*` into `spring.sql.init.*`.
The old initialization-related `spring.datasource.*` properties have
been deprecated but can still be used. When they are used, they new,
separate initialization auto-configuration will back off. In other
words, the initialization related `spring.datasource.*` properties
and the `spring.sql.init.*` properties cannot be used in combination.
Closes gh-25323
4 years ago
Phillip Webb
11a94ee6f0
Merge branch '2.3.x' into 2.4.x
4 years ago
Phillip Webb
82127fdaa3
Update copyright year of changed files
4 years ago
Phillip Webb
616917c8dc
Upgrade spring-asciidoctor-backends to 0.0.1-M1
...
Closes gh-25553
4 years ago
Phillip Webb
663fd8ce5e
Update copyright year of changed files
4 years ago
Andy Wilkinson
13dda798c5
Merge branch '2.3.x' into 2.4.x
4 years ago
Andy Wilkinson
2359b37e69
Polish
4 years ago
Andy Wilkinson
4ed1cbfab0
Merge branch '2.4.x'
...
Closes gh-25696
4 years ago
Andy Wilkinson
4865c23a41
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25695
4 years ago
Andy Wilkinson
bf33e7ef7e
Automatically supersede existing upgrade issue when running Bomr
...
Closes gh-25345
4 years ago
Stephane Nicoll
e517ee8635
Merge branch '2.4.x'
...
Closes gh-25618
4 years ago
izeye
09f4d4b9bf
Polish
...
See gh-25617
4 years ago
Phillip Webb
3b095972cc
Migrate to spring-asciidoctor-backends
...
Migrate to the renamed spring-asciidoctor-backends project.
See gh-25553
4 years ago
Phillip Webb
6e5c510e0a
Migrate to asciidoctor-spring-backends
...
Migrate to the snapshot version of asciidoctor-spring-backends.
See gh-25553
4 years ago
Stephane Nicoll
6aaf9f47be
Merge branch '2.4.x'
...
Closes gh-25524
4 years ago
dreis2211
1a803448f0
Exclude GradleBuild tasks on JDK 16 for now
...
See gh-25523
4 years ago
Andy Wilkinson
961a34a5ee
Merge branch '2.4.x'
...
Closes gh-25497
4 years ago
Andy Wilkinson
1ce6e796fe
Polish "Allow the project to be built with Java 16"
...
See gh-25171
4 years ago
dreis2211
1ccd8dae8a
Allow the project to be built with Java 16
...
See gh-25171
4 years ago
Andy Wilkinson
e3ad6b5c35
Merge branch '2.4.x'
...
Closes gh-25407
4 years ago
Andy Wilkinson
29bbbc3b79
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25406
4 years ago
Andy Wilkinson
11b77037f1
Make TestFailuresPlugin compatible with Gradle's configuration cache
...
Closes gh-25405
4 years ago
Andy Wilkinson
8cb24a426d
Include all non-snapshot repositories when checking for upgrades
...
Closes gh-25391
4 years ago
Stephane Nicoll
817a4c5397
Merge branch '2.4.x'
...
Closes gh-25386
4 years ago
Stephane Nicoll
7c5a5c6663
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25385
4 years ago
Mustafa Ulu
abc90db32f
Fix wording error in build-info goal description
...
See gh-25382
4 years ago
Andy Wilkinson
52f398318b
Merge branch '2.4.x'
...
Closes gh-25258
4 years ago
Andy Wilkinson
e763627e86
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25257
4 years ago
Andy Wilkinson
63402a2984
Truncate files before writing new content to them
...
Previously, UpgradeApplicator would open build.gradle
using open options that left the fields existing content intact. It
would then write the new content at the beginning of the file. If
the new content was n bytes shorter than the existing content, this
would leave n bytes of the existing content at the end of the file.
This commit updates UpgradeApplicator to truncate the existing file
when it opens it. This ensures that the existing content is
completely replaced by the new content, irrespective of their lengths.
Closes gh-25256
4 years ago
Andy Wilkinson
123111cc7a
Merge branch '2.4.x'
...
Closes gh-25227
4 years ago
Andy Wilkinson
12c3c80744
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25226
4 years ago
Andy Wilkinson
413256501f
Require a milestone when upgrading dependencies
...
Closes gh-25225
4 years ago
Andy Wilkinson
fc7319fbf6
Merge branch '2.4.x'
...
Closes gh-25181
4 years ago
Andy Wilkinson
f5176f3569
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25180
4 years ago
Andy Wilkinson
2ba9a8c211
Polish "Remove duplicate declaration of jackson-databind"
...
See gh-25178
4 years ago
Vitalii Mahas
a2c491ef43
Remove duplicate declaration of jackson-databind
...
See gh-25178
4 years ago
Andy Wilkinson
2ff256d759
Merge branch '2.4.x'
...
Closes gh-25177
4 years ago
Andy Wilkinson
3c8a974558
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25176
4 years ago
Andy Wilkinson
b6d2da0f84
Stop integer default values from becoming decimals
...
Fixes gh-25172
4 years ago
Andy Wilkinson
db781a0d84
Merge branch '2.4.x'
...
See gh-25077
4 years ago
Andy Wilkinson
788a42d694
Merge branch '2.3.x' into 2.4.x
...
See gh-25076
4 years ago
Andy Wilkinson
67479b6380
Add junit-platform-launcher dependency by convention
...
Closes gh-25074
4 years ago
Andy Wilkinson
067f5a52cc
Merge branch '2.4.x'
...
Closes gh-24784
4 years ago
Andy Wilkinson
139152ccce
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24783
4 years ago