Skip to content

Remove unnecessary JobOperator bean definition from BatchAutoConfiguration #38324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3,066 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3066 commits
Select commit Hold shift + click to select a range
25ce0ef
Refine `PemContent` and PEM parsers
philwebb Oct 20, 2023
9f3afb3
Merge branch '3.0.x' into 3.1.x
philwebb Oct 20, 2023
3eeb1b2
Merge branch '3.1.x'
philwebb Oct 20, 2023
4161eb1
Fix path handling in NestedLocation on Windows
wilkinsona Oct 20, 2023
d22969a
Tolerate race condition in shouldStopKeepAliveThreadIfContextIsClosed
wilkinsona Oct 20, 2023
dad5dc6
Try to fix NestedFileSystemProviderTests on Windows
wilkinsona Oct 20, 2023
88bf3df
Close byte channel created by newByteChannelReturnsByteChannel
wilkinsona Oct 20, 2023
d13d38a
Trim multiple leading slashes in NestedLocation
wilkinsona Oct 20, 2023
9897576
Polish d22969ae
wilkinsona Oct 20, 2023
9d64a11
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 20, 2023
d5cf588
Merge branch '3.1.x'
wilkinsona Oct 20, 2023
955c2bf
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 20, 2023
3cfe236
Merge branch '3.1.x'
wilkinsona Oct 20, 2023
e1bd246
Try `@AssertFileChannelDataBlocksClosed` for Windows fix
philwebb Oct 20, 2023
09821fe
Fix container inspection for Docker Compose >= 2.23.0
mhalbritter Oct 23, 2023
b11d06d
Merge branch '3.1.x'
mhalbritter Oct 23, 2023
e988bf4
Add JVM Checkpoint Restore documentation
sdeleuze Oct 20, 2023
68d8fa1
Polish "Add JVM Checkpoint Restore documentation"
mhalbritter Oct 23, 2023
9469327
Merge pull request #37975 from sdeleuze
mhalbritter Oct 23, 2023
1571097
Fix links in Spring Kafka section of ref guide
onobc Oct 21, 2023
854adba
Merge pull request #37987 from onobc
mhalbritter Oct 23, 2023
ddd093f
Fix links in Spring Pulsar section of ref guide
onobc Oct 21, 2023
6b8c340
Merge pull request #37986 from onobc
mhalbritter Oct 23, 2023
b5d4983
Polish
izeye Oct 21, 2023
34ec35f
Merge pull request #37984 from izeye
mhalbritter Oct 23, 2023
959311b
Start building against Spring Framework 6.1.0 snapshots
wilkinsona Oct 23, 2023
a9469d9
Adapt to changes in Framework's internals
wilkinsona Oct 23, 2023
2ac6916
Revert "Allow PemPrivateKeyParser to parse multiple keys"
philwebb Oct 24, 2023
7bd9989
Fix merge conflict errors
philwebb Oct 24, 2023
4c3de96
Fix links to Antora based JavaDoc and reference documentation
mhalbritter Oct 24, 2023
0950d44
Pass in filter's name when adding to MockMvc
wilkinsona Oct 24, 2023
6fb127e
Merge branch '3.0.x' into 3.1.x
mhalbritter Oct 24, 2023
c7bae80
Merge branch '3.1.x'
mhalbritter Oct 24, 2023
4e7c073
Fix PropertiesLauncher classpath detection without 'loader.path' set
philwebb Oct 25, 2023
73685d1
Register required class names for reflection in Testcontainer factory
mhalbritter Oct 25, 2023
ddf6b3f
Merge branch '3.1.x'
mhalbritter Oct 25, 2023
b764192
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
e7c3c6e
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
4faabcf
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
4f7e471
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
56d31d4
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
edca490
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
f8f60d1
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
6bcd1cf
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
581dfbf
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
fb19121
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
649117d
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
0d1a223
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
b934e2e
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
e2444f1
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
4dea11e
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
b167eb3
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
56d9de6
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
edd94b9
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
bbe7415
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 25, 2023
d157000
Merge branch '3.1.x'
wilkinsona Oct 25, 2023
16c975a
Merge branch '3.0.x' into 3.1.x
scottfrederick Oct 25, 2023
efb5cb0
Merge branch '3.1.x'
scottfrederick Oct 25, 2023
0c66db7
Refine container initialization and parallel startup logic
philwebb Oct 25, 2023
6e65d93
Add missing `@ServiceConnection` annotation to reference doc sample
philwebb Oct 25, 2023
464523a
Merge branch '3.1.x'
philwebb Oct 25, 2023
b35c4d6
Open loader jar URLs by default using `runtimeVersion`
philwebb Oct 26, 2023
045a624
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 26, 2023
670adaa
Merge branch '3.1.x'
wilkinsona Oct 26, 2023
01e2f70
Extract "server.ports" hardcoding into a constant
ch4570 Oct 25, 2023
8095c2a
Polish "Extract "server.ports" hardcoding into a constant"
mhalbritter Oct 26, 2023
0fbb1f7
Merge pull request #38029 from ch4570
mhalbritter Oct 26, 2023
5ff4a96
Polish 0fbb1f7890adcc904782de2efb434c34dfe9531c
mhalbritter Oct 26, 2023
bba323b
Copy zip data descriptor records when creating virtual zip data
philwebb Oct 26, 2023
4af9ed4
Fix Tomcat TldScanner issues by returning raw zip data for nested jars
philwebb Oct 27, 2023
beb49e1
Add tests for DataBlockInputStream and fix implementation oddities
philwebb Oct 27, 2023
8bb2228
Document how to unset maven.compiler.release
mhalbritter Oct 27, 2023
35aa284
Merge branch '3.1.x'
mhalbritter Oct 27, 2023
86a1fb0
Merge branch '3.0.x' into 3.1.x
mhalbritter Oct 27, 2023
7a767b9
Merge branch '3.1.x'
mhalbritter Oct 27, 2023
790ee9a
Add FailureAnalyzer for NoSuchHealthContributorFailureExceptions
mhalbritter Oct 27, 2023
79f8bfa
Merge branch '3.1.x'
mhalbritter Oct 27, 2023
1d767fc
Merge branch '3.0.x' into 3.1.x
mhalbritter Oct 27, 2023
10b392f
Merge branch '3.1.x'
mhalbritter Oct 27, 2023
a0a56cb
Merge branch '3.0.x' into 3.1.x
mhalbritter Oct 27, 2023
c108287
Merge branch '3.1.x'
mhalbritter Oct 27, 2023
5ca7201
Fix "Integrating with Actuator" code snippet
mhalbritter Oct 27, 2023
f66c76e
Merge branch '3.1.x'
mhalbritter Oct 27, 2023
140ba40
Merge branch '3.0.x' into 3.1.x
mhalbritter Oct 27, 2023
0e63326
Merge branch '3.1.x'
mhalbritter Oct 27, 2023
02fae03
Merge branch '3.0.x' into 3.1.x
mhalbritter Oct 27, 2023
e3a36b7
Merge branch '3.1.x'
mhalbritter Oct 27, 2023
9703ab7
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 27, 2023
4e0dd34
Merge branch '3.1.x'
wilkinsona Oct 27, 2023
f91cdf0
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 27, 2023
dcab943
Merge branch '3.1.x'
wilkinsona Oct 27, 2023
b37164c
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 27, 2023
3992817
Merge branch '3.1.x'
wilkinsona Oct 27, 2023
b5dab09
Merge branch '3.0.x' into 3.1.x
mhalbritter Oct 30, 2023
4ac6547
Merge branch '3.1.x'
mhalbritter Oct 30, 2023
1b6431c
Fix shouldStopKeepAliveThreadIfContextIsClosed()
izeye Oct 29, 2023
c71d1a8
Merge pull request #38103 from izeye
mhalbritter Oct 30, 2023
d84808e
Merge branch '3.0.x' into 3.1.x
mhalbritter Oct 30, 2023
da078d1
Merge branch '3.1.x'
mhalbritter Oct 30, 2023
3be8475
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 30, 2023
97c2311
Merge branch '3.1.x'
wilkinsona Oct 30, 2023
f6b6f7a
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 30, 2023
aa16c2a
Merge branch '3.1.x'
wilkinsona Oct 30, 2023
cf4fcc5
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 30, 2023
5b9eac1
Merge branch '3.1.x'
wilkinsona Oct 30, 2023
5765f94
Upgrade to Liquibase 4.24.0
wilkinsona Oct 30, 2023
d2325d1
Upgrade to Oracle Database 23.3.0.23.09
wilkinsona Oct 30, 2023
607ed86
Merge branch '3.0.x' into 3.1.x
mhalbritter Oct 31, 2023
20edbb4
Merge branch '3.1.x'
mhalbritter Oct 31, 2023
9b7d8ca
Update upgrade policy for the RC phase
wilkinsona Oct 31, 2023
00987fe
Upgrade to ActiveMQ 5.18.3
wilkinsona Oct 31, 2023
90d6b53
Upgrade to Artemis 2.31.2
wilkinsona Oct 31, 2023
f7ccd00
Upgrade to Glassfish JAXB 4.0.4
wilkinsona Oct 31, 2023
7ee570a
Upgrade to Hazelcast 5.3.5
wilkinsona Oct 31, 2023
e0a50e1
Upgrade to Jakarta Json 2.1.3
wilkinsona Oct 31, 2023
fd1fdaf
Upgrade to Jakarta XML SOAP 3.0.1
wilkinsona Oct 31, 2023
7ee35a8
Upgrade to Jakarta XML WS 4.0.1
wilkinsona Oct 31, 2023
6796be0
Upgrade to Jedis 5.0.2
wilkinsona Oct 31, 2023
72450bf
Upgrade to Jetty Reactive HTTPClient 4.0.1
wilkinsona Oct 31, 2023
f699e9b
Upgrade to Jetty 12.0.3
wilkinsona Oct 31, 2023
20a6b7a
Upgrade to Kotlin 1.9.20
wilkinsona Oct 31, 2023
58be0dd
Upgrade to Log4j2 2.21.1
wilkinsona Oct 31, 2023
37a8fc3
Upgrade to Maven Clean Plugin 3.3.2
wilkinsona Oct 31, 2023
053edc0
Upgrade to Maven Dependency Plugin 3.6.1
wilkinsona Oct 31, 2023
719545d
Upgrade to MSSQL JDBC 12.4.2.jre11
wilkinsona Oct 31, 2023
2d67957
Upgrade to Native Build Tools Plugin 0.9.28
wilkinsona Oct 31, 2023
8a2c0f1
Upgrade to Pulsar 3.1.1
wilkinsona Oct 31, 2023
8a925b6
Upgrade to SAAJ Impl 3.0.3
wilkinsona Oct 31, 2023
e0169e7
Upgrade to Spring Framework 6.1.0-RC2
wilkinsona Oct 31, 2023
1ef66d2
Upgrade to Spring WS 4.0.7
wilkinsona Oct 31, 2023
de1ca5e
Polish DockerComposeLifecycleManager
mhalbritter Oct 31, 2023
87d6d51
Explain what happens if docker compose is already running
mhalbritter Oct 31, 2023
bdc5c05
Merge branch '3.1.x'
mhalbritter Oct 31, 2023
cbcde91
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 31, 2023
5de0f82
Merge branch '3.1.x'
wilkinsona Oct 31, 2023
1fcf1fc
Merge branch '3.0.x' into 3.1.x
wilkinsona Oct 31, 2023
8f2ec22
Merge branch '3.1.x'
wilkinsona Oct 31, 2023
40ce618
Merge branch '3.0.x' into 3.1.x
wilkinsona Nov 1, 2023
173e654
Merge branch '3.1.x'
wilkinsona Nov 1, 2023
890a3e7
Repair file channel when it's closed by interruption
wilkinsona Oct 31, 2023
7611ce1
Merge branch '3.0.x' into 3.1.x
scottfrederick Nov 1, 2023
95e048c
Merge branch '3.1.x'
scottfrederick Nov 1, 2023
8bf847e
Rename keyAlias parameter to alias
philwebb Oct 28, 2023
2c6fca8
Allow alias and password to be configured on a per PEM store basis
philwebb Oct 30, 2023
2b39ec6
Introduce a public `PemContent` class
philwebb Oct 28, 2023
5e5d226
Introduce `PemSslStore` as an alternative to `PemSslStoreDetails`.
philwebb Oct 31, 2023
1b61bc1
Move PEM verification to spring-boot-autoconfigure
philwebb Oct 28, 2023
5dc5c2a
Rename `KeyVerifier` to `CertificateMatcher`
philwebb Oct 31, 2023
30a7426
Apply key property to the keystore and not to the truststore
philwebb Oct 31, 2023
9b71ef4
Polish and refactor some SSL internals
philwebb Nov 1, 2023
663243e
Fix open telemetry container lifecycle issues
philwebb Nov 2, 2023
683d791
Merge branch '3.0.x' into 3.1.x
philwebb Nov 2, 2023
a35fb75
Merge branch '3.1.x'
philwebb Nov 2, 2023
d3f177b
Polish SSL
mhalbritter Nov 2, 2023
99986a2
Polish SSL internals
scottfrederick Nov 2, 2023
afa4d27
Merge branch '3.0.x' into 3.1.x
philwebb Nov 2, 2023
77218a6
Merge branch '3.1.x'
philwebb Nov 2, 2023
47c1088
Polish
philwebb Nov 2, 2023
cc4ef32
Merge branch '3.1.x'
philwebb Nov 2, 2023
9ba46f5
Polish
philwebb Nov 2, 2023
ff9d9de
Add observationEnabled properties for Apache Kafka
Oct 26, 2023
55ab56f
Polish "Add observationEnabled properties for Apache Kafka"
scottfrederick Nov 2, 2023
4d0b50e
Merge pull request #38057 from Wzy19930507
scottfrederick Nov 2, 2023
9eda564
Fix check for using CoordinatedRestoreAtCheckpointStartup
wilkinsona Nov 3, 2023
fb1a4ba
Merge branch '3.0.x' into 3.1.x
mhalbritter Nov 3, 2023
d6c28b3
Merge branch '3.1.x'
mhalbritter Nov 3, 2023
c0f8b90
Return getLastModified result from JarUrlConnection
philwebb Nov 5, 2023
0ea75f0
Polish
philwebb Nov 2, 2023
f69ea37
Merge branch '3.1.x'
philwebb Nov 5, 2023
4aba45d
Merge branch '3.0.x' into 3.1.x
philwebb Nov 5, 2023
06e196c
Merge branch '3.1.x'
philwebb Nov 5, 2023
f6910ba
Document that PEM content can be used directly in application.yaml
philwebb Nov 5, 2023
4bc63b5
Merge branch '3.1.x'
philwebb Nov 5, 2023
7829e76
Switch JsonMapper in Docker JSON parsing to english locale
mhalbritter Nov 6, 2023
9fc3ef7
Merge branch '3.1.x'
mhalbritter Nov 6, 2023
674f8fb
Polish RabbitAutoConfiguration
eddumelendez Nov 6, 2023
e84ae78
Merge pull request #38216 from eddumelendez
mhalbritter Nov 6, 2023
a944815
Merge branch '3.1.x'
mhalbritter Nov 6, 2023
9cbc686
Merge branch '3.0.x' into 3.1.x
mhalbritter Nov 6, 2023
0621288
Merge branch '3.1.x'
mhalbritter Nov 6, 2023
3560a13
Merge branch '3.0.x' into 3.1.x
mhalbritter Nov 6, 2023
d59b385
Merge branch '3.1.x'
mhalbritter Nov 6, 2023
f381a9c
Merge branch '3.0.x' into 3.1.x
mhalbritter Nov 6, 2023
dbe882a
Merge branch '3.1.x'
mhalbritter Nov 6, 2023
b01235e
Copy attributes from runtimeClasspath to productionRuntimeClasspath
wilkinsona Nov 6, 2023
08a4a83
Merge branch '3.1.x'
wilkinsona Nov 6, 2023
8932de0
Fix typo
ms-jake Nov 6, 2023
72adbec
Merge pull request #38241 from audtjddld
mhalbritter Nov 7, 2023
b9946bd
Merge branch '3.1.x'
mhalbritter Nov 7, 2023
4c915a7
Merge branch '3.0.x' into 3.1.x
mhalbritter Nov 7, 2023
8733c8c
Merge branch '3.1.x'
mhalbritter Nov 7, 2023
8126d26
Report friendly error when failing to find AOT initializer
quaff Nov 3, 2023
e3210e7
Polish "Report friendly error when failing to find AOT initializer"
mhalbritter Nov 7, 2023
ec83f8b
Merge pull request #38188 from quaff
mhalbritter Nov 7, 2023
e549380
Merge branch '3.0.x' into 3.1.x
mhalbritter Nov 7, 2023
b9a5bdc
Merge branch '3.1.x'
mhalbritter Nov 7, 2023
b2c5976
Merge branch '3.0.x' into 3.1.x
wilkinsona Nov 7, 2023
47cac96
Merge branch '3.1.x'
wilkinsona Nov 7, 2023
f22c1ba
Add smoke test for Kafka with SSL
scottfrederick Oct 20, 2023
690cfa2
Provide a way to create custom ApplicationContextFactory
philwebb Nov 7, 2023
357c212
Merge branch '3.0.x' into 3.1.x
mhalbritter Nov 8, 2023
4a851c1
Merge branch '3.1.x'
mhalbritter Nov 8, 2023
bb761e5
Merge branch '3.0.x' into 3.1.x
wilkinsona Nov 8, 2023
eb8e8dd
Merge branch '3.1.x'
wilkinsona Nov 8, 2023
dfe6b50
Merge branch '3.0.x' into 3.1.x
wilkinsona Nov 8, 2023
f9c9f32
Merge branch '3.1.x'
wilkinsona Nov 8, 2023
dbbde18
Attempt to fix Windows build failure due to open files
philwebb Nov 8, 2023
1e1effe
Merge branch '3.0.x' into 3.1.x
wilkinsona Nov 8, 2023
82c9ab4
Merge branch '3.1.x'
wilkinsona Nov 8, 2023
759d096
Disable Kafka SSL smoke test when Docker is not available
scottfrederick Nov 8, 2023
445d0a2
Merge branch '3.0.x' into 3.1.x
philwebb Nov 8, 2023
897ba51
Merge branch '3.1.x'
philwebb Nov 8, 2023
61aecde
Remove Liquibase javax.activation excludes
EvaristeGalois11 Nov 9, 2023
4a6564c
Add Liquibase `show-summary` and `show-summary-output` properties
EvaristeGalois11 Nov 9, 2023
e1203e7
Merge pull request #38274 from EvaristeGalois11
philwebb Nov 9, 2023
b6a9c67
Avoid adding Jetty's upgrade filter to non-Jetty servers
wilkinsona Nov 8, 2023
9247104
Merge branch '3.1.x'
wilkinsona Nov 9, 2023
45abef1
Merge branch '3.0.x' into 3.1.x
wilkinsona Nov 9, 2023
780c80f
Merge branch '3.1.x'
wilkinsona Nov 9, 2023
eaaf977
Merge branch '3.0.x' into 3.1.x
mhalbritter Nov 10, 2023
7e79d1f
Merge branch '3.1.x'
mhalbritter Nov 10, 2023
67c5d10
Process multipart properties for PartEvent support
bclozel Nov 10, 2023
911bd2b
Merge branch '3.0.x' into 3.1.x
wilkinsona Nov 10, 2023
c5fdddb
Merge branch '3.1.x'
wilkinsona Nov 10, 2023
7e97c0a
Start building against Micrometer 1.11.6 snapshots
wilkinsona Nov 10, 2023
8a39624
Start building against Micrometer Tracing 1.1.7 snapshots
wilkinsona Nov 10, 2023
8de589d
Start building against Reactor Bom 2022.0.13 snapshots
wilkinsona Nov 10, 2023
a364b1a
Start building against Spring Data Bom 2023.0.6 snapshots
wilkinsona Nov 10, 2023
09017e0
Start building against Spring Framework 6.0.14 snapshots
wilkinsona Nov 10, 2023
ba21343
Start building against Spring GraphQL 1.2.4 snapshots
wilkinsona Nov 10, 2023
fc24b56
Start building against Spring Integration 6.1.5 snapshots
wilkinsona Nov 10, 2023
123bf4a
Start building against Spring WS 4.0.8 snapshots
wilkinsona Nov 10, 2023
dd732d1
Merge branch '3.1.x'
wilkinsona Nov 10, 2023
a3458cb
Start building against Micrometer 1.12.0 snapshots
wilkinsona Nov 10, 2023
acca3d8
Start building against Micrometer Tracing 1.2.0 snapshots
wilkinsona Nov 10, 2023
c9f982b
Start building against Reactor Bom 2023.0.0 snapshots
wilkinsona Nov 10, 2023
28aa3c0
Start building against Spring AMQP 3.1.0 snapshots
wilkinsona Nov 10, 2023
259c2c4
Start building against Spring Authorization Server 1.2.0 snapshots
wilkinsona Nov 10, 2023
986d486
Start building against Spring Batch 5.1.0 snapshots
wilkinsona Nov 10, 2023
9600bbc
Start building against Spring Data Bom 2023.1.0 snapshots
wilkinsona Nov 10, 2023
482d2d3
Start building against Spring Framework 6.1.0 snapshots
wilkinsona Nov 10, 2023
d10b875
Start building against Spring GraphQL 1.2.4 snapshots
wilkinsona Nov 10, 2023
18f1cc5
Start building against Spring HATEOAS 2.2.0 snapshots
wilkinsona Nov 10, 2023
d5dc1dc
Start building against Spring Integration 6.2.0 snapshots
wilkinsona Nov 10, 2023
3063539
Start building against Spring Kafka 3.1.0 snapshots
wilkinsona Nov 10, 2023
f7efa71
Start building against Spring LDAP 3.2.0 snapshots
wilkinsona Nov 10, 2023
47bf63a
Start building against Spring Security 6.2.0 snapshots
wilkinsona Nov 10, 2023
2eaf672
Start building against Spring Session 3.2.0 snapshots
wilkinsona Nov 10, 2023
e4a0e9d
Start building against Spring WS 4.0.8 snapshots
wilkinsona Nov 10, 2023
f166004
Remove unnecessary JobOperator bean definition
cachescrubber Nov 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
# Reformat code following spring-javaformat upgrade
df5898a1464112f185d295d585740de696934a12
c4de86c244acdcff69ed0aecacd254399be79ce2
b07269a018a4a9d4c029aba7dd8a15fa66df681c


12 changes: 11 additions & 1 deletion .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= Spring Boot image:https://ci.spring.io/api/v1/teams/spring-boot/pipelines/spring-boot-3.0.x/jobs/build/badge["Build Status", link="https://ci.spring.io/teams/spring-boot/pipelines/spring-boot-3.0.x?groups=Build"] image:https://badges.gitter.im/Join Chat.svg["Chat",link="https://gitter.im/spring-projects/spring-boot?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"] image:https://img.shields.io/badge/Revved%20up%20by-Gradle%20Enterprise-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Gradle Enterprise", link="https://ge.spring.io/scans?&search.rootProjectNames=Spring%20Boot%20Build&search.rootProjectNames=spring-boot-build"]
= Spring Boot image:https://ci.spring.io/api/v1/teams/spring-boot/pipelines/spring-boot-3.2.x/jobs/build/badge["Build Status", link="https://ci.spring.io/teams/spring-boot/pipelines/spring-boot-3.2.x?groups=Build"] image:https://badges.gitter.im/Join Chat.svg["Chat",link="https://gitter.im/spring-projects/spring-boot?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"] image:https://img.shields.io/badge/Revved%20up%20by-Gradle%20Enterprise-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Gradle Enterprise", link="https://ge.spring.io/scans?&search.rootProjectNames=Spring%20Boot%20Build&search.rootProjectNames=spring-boot-build"]
:docs: https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference
:github: https://github.com/spring-projects/spring-boot

Expand Down
3 changes: 2 additions & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ new File(projectDir.parentFile, "gradle.properties").withInputStream {
def properties = new Properties()
properties.load(it)
["assertj", "commonsCodec", "hamcrest", "jackson", "junitJupiter",
"kotlin", "maven", "springFramework"].each {
"kotlin", "maven"].each {
versions[it] = properties[it + "Version"]
}
}
versions["springFramework"] = "6.0.12"
ext.set("versions", versions)
if (versions.springFramework.contains("-")) {
repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private void configureForkOptions(AbstractAsciidoctorTask asciidoctorTask) {

private String determineGitHubTag(Project project) {
String version = "v" + project.getVersion();
return (version.endsWith("-SNAPSHOT")) ? "3.0.x" : version;
return (version.endsWith("-SNAPSHOT")) ? "main" : version;
}

private void configureOptions(AbstractAsciidoctorTask asciidoctorTask) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public void apply(Project project) {
new AsciidoctorConventions().apply(project);
new KotlinConventions().apply(project);
new WarConventions().apply(project);
new EclipseConventions().apply(project);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/*
* Copyright 2023-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.springframework.boot.build;

import org.gradle.api.Project;
import org.gradle.plugins.ide.api.XmlFileContentMerger;
import org.gradle.plugins.ide.eclipse.EclipsePlugin;
import org.gradle.plugins.ide.eclipse.model.Classpath;
import org.gradle.plugins.ide.eclipse.model.ClasspathEntry;
import org.gradle.plugins.ide.eclipse.model.EclipseClasspath;
import org.gradle.plugins.ide.eclipse.model.EclipseModel;
import org.gradle.plugins.ide.eclipse.model.Library;

/**
* Conventions that are applied in the presence of the {@link EclipsePlugin} to work
* around buildship issue {@code #1238}.
*
* @author Phillip Webb
*/
class EclipseConventions {

void apply(Project project) {
project.getPlugins().withType(EclipsePlugin.class, (eclipse) -> {
EclipseModel eclipseModel = project.getExtensions().getByType(EclipseModel.class);
eclipseModel.classpath(this::configureClasspath);
});
}

private void configureClasspath(EclipseClasspath classpath) {
classpath.file(this::configureClasspathFile);
}

private void configureClasspathFile(XmlFileContentMerger merger) {
merger.whenMerged((content) -> {
if (content instanceof Classpath classpath) {
classpath.getEntries().removeIf(this::isKotlinPluginContributedBuildDirectory);
}
});
}

private boolean isKotlinPluginContributedBuildDirectory(ClasspathEntry entry) {
return (entry instanceof Library library) && isKotlinPluginContributedBuildDirectory(library.getPath())
&& isTest(library);
}

private boolean isKotlinPluginContributedBuildDirectory(String path) {
return path.contains("/main") && (path.contains("/build/classes/") || path.contains("/build/resources/"));
}

private boolean isTest(Library library) {
Object value = library.getEntryAttributes().get("test");
return (value instanceof String string && Boolean.parseBoolean(string));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@
import org.springframework.boot.build.DeployedPlugin;
import org.springframework.boot.build.architecture.ArchitectureCheck;
import org.springframework.boot.build.architecture.ArchitecturePlugin;
import org.springframework.boot.build.context.properties.ConfigurationPropertiesPlugin;

/**
* {@link Plugin} for projects that define auto-configuration. When applied, the plugin
* applies the {@link DeployedPlugin}. Additionally, when the {@link JavaPlugin} is
* applied it:
*
* <ul>
* <li>Applies the {@link ConfigurationPropertiesPlugin}.
* <li>Adds a dependency on the auto-configuration annotation processor.
* <li>Defines a task that produces metadata describing the auto-configuration. The
* metadata is made available as an artifact in the {@code autoConfigurationMetadata}
Expand Down Expand Up @@ -79,7 +77,6 @@ public class AutoConfigurationPlugin implements Plugin<Project> {
public void apply(Project project) {
project.getPlugins().apply(DeployedPlugin.class);
project.getPlugins().withType(JavaPlugin.class, (javaPlugin) -> {
project.getPlugins().apply(ConfigurationPropertiesPlugin.class);
Configuration annotationProcessors = project.getConfigurations()
.getByName(JavaPlugin.ANNOTATION_PROCESSOR_CONFIGURATION_NAME);
annotationProcessors.getDependencies()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,18 @@ final class MavenMetadataVersionResolver implements VersionResolver {

MavenMetadataVersionResolver(RestTemplate restTemplate, Collection<URI> repositoryUrls) {
this.rest = restTemplate;
this.repositoryUrls = repositoryUrls;
this.repositoryUrls = normalize(repositoryUrls);
}

private Collection<URI> normalize(Collection<URI> uris) {
return uris.stream().map(this::normalize).toList();
}

private URI normalize(URI uri) {
if ("/".equals(uri.getPath())) {
return uri;
}
return URI.create(uri.toString() + "/");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.SortedSet;
import java.util.function.BiPredicate;
import java.util.stream.Collectors;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -96,19 +94,14 @@ private List<VersionOption> determineResolvedVersionOptions(Library library) {
getLaterVersionsForModule(group.getId(), plugin, library));
}
}
List<DependencyVersion> allVersions = moduleVersions.values()
return moduleVersions.values()
.stream()
.flatMap(SortedSet::stream)
.distinct()
.filter((dependencyVersion) -> this.predicate.test(library, dependencyVersion))
.toList();
if (allVersions.isEmpty()) {
return Collections.emptyList();
}
return allVersions.stream()
.map((version) -> new VersionOption.ResolvedVersionOption(version,
.map((version) -> (VersionOption) new VersionOption.ResolvedVersionOption(version,
getMissingModules(moduleVersions, version)))
.collect(Collectors.toList());
.toList();
}

private List<String> getMissingModules(Map<String, SortedSet<DependencyVersion>> moduleVersions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.springframework.boot.build.bom.bomr.version;

import java.util.Objects;
import java.util.Optional;

import org.apache.maven.artifact.versioning.ArtifactVersion;
Expand Down Expand Up @@ -121,6 +122,21 @@ public boolean isSnapshotFor(DependencyVersion candidate) {
return sameMajorMinorIncremental(((ArtifactVersionDependencyVersion) candidate).artifactVersion);
}

@Override
public int compareTo(DependencyVersion other) {
if (other instanceof ArtifactVersionDependencyVersion otherArtifactDependencyVersion) {
ArtifactVersion otherArtifactVersion = otherArtifactDependencyVersion.artifactVersion;
if ((!Objects.equals(this.artifactVersion.getQualifier(), otherArtifactVersion.getQualifier()))
&& "snapshot".equalsIgnoreCase(otherArtifactVersion.getQualifier())
&& otherArtifactVersion.getMajorVersion() == this.artifactVersion.getMajorVersion()
&& otherArtifactVersion.getMinorVersion() == this.artifactVersion.getMinorVersion()
&& otherArtifactVersion.getIncrementalVersion() == this.artifactVersion.getIncrementalVersion()) {
return 1;
}
}
return super.compareTo(other);
}

@Override
public String toString() {
return this.artifactVersion.toString();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -93,7 +93,7 @@ private Report createReport() throws IOException, JsonParseException, JsonMappin

@SuppressWarnings("unchecked")
private void check(String key, Map<String, Object> json, Analysis analysis) {
List<Map<String, Object>> groups = (List<Map<String, Object>>) json.get(key);
List<Map<String, Object>> groups = (List<Map<String, Object>>) json.getOrDefault(key, Collections.emptyList());
List<String> names = groups.stream().map((group) -> (String) group.get("name")).toList();
List<String> sortedNames = sortedCopy(names);
for (int i = 0; i < names.size(); i++) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -79,6 +79,9 @@ void documentConfigurationProperties() throws IOException {
snippets.add("application-properties.rsocket", "RSocket Properties", this::rsocketPrefixes);
snippets.add("application-properties.actuator", "Actuator Properties", this::actuatorPrefixes);
snippets.add("application-properties.devtools", "Devtools Properties", this::devtoolsPrefixes);
snippets.add("application-properties.docker-compose", "Docker Compose Properties", this::dockerComposePrefixes);
snippets.add("application-properties.testcontainers", "Testcontainers Properties",
this::testcontainersPrefixes);
snippets.add("application-properties.testing", "Testing Properties", this::testingPrefixes);
snippets.writeTo(this.outputDir.toPath());
}
Expand All @@ -103,7 +106,9 @@ private void corePrefixes(Config config) {
config.accept("spring.profiles");
config.accept("spring.quartz");
config.accept("spring.reactor");
config.accept("spring.ssl");
config.accept("spring.task");
config.accept("spring.threads");
config.accept("spring.mandatory-file-encoding");
config.accept("info");
config.accept("spring.output.ansi.enabled");
Expand Down Expand Up @@ -168,6 +173,7 @@ private void integrationPrefixes(Config prefix) {
prefix.accept("spring.integration");
prefix.accept("spring.jms");
prefix.accept("spring.kafka");
prefix.accept("spring.pulsar");
prefix.accept("spring.rabbitmq");
prefix.accept("spring.hazelcast");
prefix.accept("spring.webservices");
Expand Down Expand Up @@ -211,12 +217,20 @@ private void actuatorPrefixes(Config prefix) {
prefix.accept("management");
}

private void dockerComposePrefixes(Config prefix) {
prefix.accept("spring.docker.compose");
}

private void devtoolsPrefixes(Config prefix) {
prefix.accept("spring.devtools");
}

private void testingPrefixes(Config prefix) {
prefix.accept("spring.test");
prefix.accept("spring.test.");
}

private void testcontainersPrefixes(Config prefix) {
prefix.accept("spring.testcontainers.");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ public Property<String> getApplicationJar() {
}

public void normalizeTomcatPort() {
this.normalizations.put("(Tomcat started on port\\(s\\): )[\\d]+( \\(http\\))", "$18080$2");
this.normalizations.put("(Tomcat initialized with port\\(s\\): )[\\d]+( \\(http\\))", "$18080$2");
this.normalizations.put("(Tomcat started on port )[\\d]+( \\(http\\))", "$18080$2");
this.normalizations.put("(Tomcat initialized with port )[\\d]+( \\(http\\))", "$18080$2");
}

public void normalizeLiveReloadPort() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ private Configuration mavenConfiguration(Project project) {
return existing;
}
return project.getConfigurations().create("maven", (maven) -> {
maven.getDependencies().add(project.getDependencies().create("org.apache.maven:maven-embedder:3.6.2"));
maven.getDependencies().add(project.getDependencies().create("org.apache.maven:maven-compat:3.6.2"));
maven.getDependencies().add(project.getDependencies().create("org.apache.maven:maven-embedder:3.6.3"));
maven.getDependencies().add(project.getDependencies().create("org.apache.maven:maven-compat:3.6.3"));
maven.getDependencies().add(project.getDependencies().create("org.slf4j:slf4j-simple:1.7.5"));
maven.getDependencies()
.add(project.getDependencies()
Expand Down
2 changes: 1 addition & 1 deletion ci/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The pipeline can be deployed using the following command:

[source]
----
$ fly -t spring-boot set-pipeline -p spring-boot-3.0.x -c ci/pipeline.yml -l ci/parameters.yml
$ fly -t spring-boot set-pipeline -p spring-boot-3.2.x -c ci/pipeline.yml -l ci/parameters.yml
----

NOTE: This assumes that you have credhub integration configured with the appropriate
Expand Down
4 changes: 4 additions & 0 deletions ci/images/ci-image-jdk21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ FROM ubuntu:jammy-20231004
ADD setup.sh /setup.sh
ADD get-jdk-url.sh /get-jdk-url.sh
ADD get-docker-url.sh /get-docker-url.sh
ADD get-docker-compose-url.sh /get-docker-compose-url.sh
RUN ./setup.sh java17 java21

ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV JAVA_HOME /opt/openjdk
ENV PATH $JAVA_HOME/bin:$PATH
ADD docker-lib.sh /docker-lib.sh
4 changes: 4 additions & 0 deletions ci/images/ci-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ FROM ubuntu:jammy-20231004
ADD setup.sh /setup.sh
ADD get-jdk-url.sh /get-jdk-url.sh
ADD get-docker-url.sh /get-docker-url.sh
ADD get-docker-compose-url.sh /get-docker-compose-url.sh
RUN ./setup.sh java17

ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV JAVA_HOME /opt/openjdk
ENV PATH $JAVA_HOME/bin:$PATH
ADD docker-lib.sh /docker-lib.sh
5 changes: 5 additions & 0 deletions ci/images/get-docker-compose-url.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e

version="2.17.0"
echo "https://github.com/docker/compose/releases/download/v$version/docker-compose-linux-x86_64"
Loading