Andy Wilkinson
60624e8a56
Avoid problems with platform-specific line endings
...
See gh-44512
2025-03-05 20:07:43 +00:00
Andy Wilkinson
55c410abec
Improve autoconfigure's use of test resources
...
Closes gh-44512
2025-03-05 16:40:26 +00:00
Andy Wilkinson
1f5b9de302
Normalize the separator in resource names
...
See gh-44444
2025-03-05 15:42:41 +00:00
Andy Wilkinson
8e49a4e49a
Increase independence of core auto-configuration tests
...
Remove some more references to Thymeleaf and FreeMarker
auto-configuration that were missed in 85ffbbc
.
See gh-44513
2025-03-05 14:49:58 +00:00
Andy Wilkinson
85ffbbc384
Make core auto-configuration tests more independent
...
Closes gh-44513
2025-03-05 14:33:57 +00:00
Andy Wilkinson
5683d39fd6
Allow resources to hide existing resources with the same name
...
See gh-44444
2025-03-05 14:33:57 +00:00
Stéphane Nicoll
d5d27462ab
Start building against Spring WS 4.0.12 snapshots
...
See gh-44564
2025-03-05 14:53:18 +01:00
Stéphane Nicoll
a0f3850a7f
Start building against Spring Security 6.3.8 snapshots
...
See gh-44563
2025-03-05 14:53:14 +01:00
Stéphane Nicoll
57e17adde0
Start building against Spring Pulsar 1.1.10 snapshots
...
See gh-44562
2025-03-05 14:53:11 +01:00
Stéphane Nicoll
08e9e4949b
Start building against Spring Data Bom 2024.0.10 snapshots
...
See gh-44561
2025-03-05 14:53:07 +01:00
Stéphane Nicoll
057c30c561
Start building against Reactor Bom 2023.0.16 snapshots
...
See gh-44560
2025-03-05 14:53:03 +01:00
Stéphane Nicoll
37c4ea5c09
Start building against Micrometer Tracing 1.3.10 snapshots
...
See gh-44559
2025-03-05 14:52:59 +01:00
Stéphane Nicoll
8b1240331f
Start building against Micrometer 1.13.12 snapshots
...
See gh-44558
2025-03-05 14:52:55 +01:00
Stéphane Nicoll
497aef8668
Upgrade to SLF4J 2.0.17
...
Closes gh-44545
2025-03-05 12:52:11 +01:00
Stéphane Nicoll
b199fabfd2
Upgrade to Netty 4.1.119.Final
...
Closes gh-44544
2025-03-05 12:52:07 +01:00
Stéphane Nicoll
dacc4915cb
Upgrade to Maven Install Plugin 3.1.4
...
Closes gh-44543
2025-03-05 12:52:03 +01:00
Stéphane Nicoll
4fb21b34cf
Upgrade to Maven Deploy Plugin 3.1.4
...
Closes gh-44542
2025-03-05 12:51:59 +01:00
Stéphane Nicoll
cc6cfea102
Upgrade to Logback 1.5.17
...
Closes gh-44541
2025-03-05 12:51:55 +01:00
Stéphane Nicoll
f0e006e86d
Upgrade to jOOQ 3.19.20
...
Closes gh-44540
2025-03-05 12:51:51 +01:00
Stéphane Nicoll
23787db03a
Upgrade to Infinispan 15.0.14.Final
...
Closes gh-44539
2025-03-05 12:51:48 +01:00
Stéphane Nicoll
b28794e331
Upgrade to Groovy 4.0.26
...
Closes gh-44538
2025-03-05 12:51:43 +01:00
Tran Ngoc Nhan
701f73fcd7
Fix JavaExec javadoc link
...
See gh-44526
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-03-05 11:55:29 +01:00
Andy Wilkinson
27779bec0a
Remove AutoConfigurationReproTests
...
Removed in favor of WebServerFactoryCustomizerBeanPostProcessorTests
which, through the expectations that it sets up on the mock bean
factory, already checks that early initialization will not be
triggered.
Closes gh-44511
2025-03-04 17:50:19 +00:00
Andy Wilkinson
c9f3688df9
Remove redundant tests
...
Closes gh-44520
2025-03-04 17:45:23 +00:00
Matthias Streidel
474dafae28
Fix typo
...
See gh-44514
Signed-off-by: Matthias Streidel <github@metters.slmail.me>
2025-03-04 15:30:27 +01:00
Stéphane Nicoll
e69683769e
Start building against Spring Framework 6.1.18 snapshots
...
See gh-44491
2025-02-28 14:42:46 +01:00
Andy Wilkinson
7d01c941b9
Use WithPackageResources on shouldUpdateSslWhenReloadingSslBundles
...
See gh-44397
2025-02-28 12:23:17 +00:00
Benjamin König
23fd79f425
Remove obsolete hints for Flyway Teams features
...
See gh-44460
Signed-off-by: Benjamin König <koenig87@googlemail.com>
2025-02-28 11:18:41 +01:00
Stéphane Nicoll
e1f45c50ee
Generate reflection hints for main methods
...
This commit makes sure to register the necessary hints to invoke the
main method of any bean available in the context. This is necessary
for tests that use the UseMainMethod feature.
This generates more hints than strictly necessary as there isn't a
way to contribute hints based on a ContextLoader, see
https://github.com/spring-projects/spring-framework/issues/34513 for
more details.
Closes gh-44461
2025-02-28 11:08:23 +01:00
Moritz Halbritter
c91c8e202a
Fix tests
2025-02-28 10:53:54 +01:00
Dmitry Sulman
7276be825a
Update version of Neo4j test container image
...
See gh-44463
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
2025-02-28 10:35:55 +01:00
Dmitry Sulman
c98f9ac126
Update version of Elasticsearch test container image
...
See gh-44459
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
2025-02-28 10:31:07 +01:00
Moritz Halbritter
19ba2ec0e9
Merge pull request #44467 from nosan
...
* pr/44467:
Close InputStream when loading Log4j2 Configuration from a Resource
Closes gh-44467
2025-02-28 10:30:57 +01:00
Dmytro Nosan
be7e952e91
Close InputStream when loading Log4j2 Configuration from a Resource
...
See gh-44467
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-28 09:57:09 +01:00
Andy Wilkinson
21a5319362
Revert "Use Framework's default class loader as default in ImportCandidates"
...
This reverts commit 56c955158d
.
See gh-44401
2025-02-27 10:50:17 +00:00
Andy Wilkinson
3de189a1df
Minimize test resources and move remainder to appropriate packages
...
Closes gh-44397
2025-02-26 15:49:42 +00:00
Andy Wilkinson
8577718b22
Close InputStream when loading PEM content from a resource
...
Fixes gh-44443
2025-02-26 15:45:24 +00:00
Andy Wilkinson
88745820d3
Close InputStream after reading banner resource
...
Fixes gh-44441
2025-02-26 15:43:42 +00:00
Andy Wilkinson
5be5eaf7f2
Use ClassLoader from ResourceLoader to load PropertySourceLoaders
...
Fixes gh-44427
2025-02-26 15:42:12 +00:00
Andy Wilkinson
56c955158d
Use Framework's default class loader as default in ImportCandidates
...
Closes gh-44401
2025-02-26 15:32:50 +00:00
Andy Wilkinson
3acea583ad
Add support for working with resources in tests
...
Closes gh-44444
2025-02-26 15:29:20 +00:00
Moritz Halbritter
abf320d273
Register reflection hints for SslBundleSslEngineFactory
...
Closes gh-44435
2025-02-26 11:46:55 +01:00
Moritz Halbritter
453002b77b
Add class of SslBundleSslEngineFactory to Kafka config map
...
Closes gh-44414
2025-02-26 10:46:12 +01:00
Stéphane Nicoll
41656bf4ee
Update copyright of changed files
...
See gh-44413
2025-02-24 08:21:07 +01:00
Tran Ngoc Nhan
ae2cfebd93
Fix typo in fold attribute
...
See gh-44413
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-02-24 08:19:57 +01:00
Stéphane Nicoll
bf1dc09c86
Update copyright of changed files
...
See gh-44323
2025-02-24 07:52:35 +01:00
Johnny Lim
332ad7bb70
Polish
...
See gh-44323
Signed-off-by: Johnny Lim <izeye@naver.com>
2025-02-24 07:46:25 +01:00
Tran Ngoc Nhan
d781ce164d
Use Javadoc attributes for Gradle reference guide
...
See gh-44388
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-02-22 19:02:33 +01:00
Stéphane Nicoll
2a94ee1586
Polish contribution
...
See gh-44348
2025-02-22 18:53:51 +01:00
Bernie Schelberg
b9438bef9e
Consider properties on outer class in nested @DataJpaTest tests
...
See gh-44348
Signed-off-by: Bernie Schelberg <bernard.schelberg@invicara.com>
2025-02-22 18:53:39 +01:00
Stéphane Nicoll
7fd19556b2
Polish contribution
...
See gh-44384
2025-02-22 18:33:05 +01:00
Dmytro Nosan
2f288bf614
Clarify which Mongo properties are ignored when URI property is set
...
See gh-44384
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-22 18:28:42 +01:00
Tran Ngoc Nhan
c211b05660
Adapt reference to JooqExceptionTranslator
...
This commit updates the reference guide as JooqExceptionTranslator has
been superseded by ExceptionTranslatorExecuteListener.
See gh-44385
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-02-22 18:22:14 +01:00
Phillip Webb
c718461450
Protect against NoSuchMethodException on setReadOnly
...
See gh-44331
2025-02-19 15:52:51 -08:00
Andy Wilkinson
69abb7dda7
Upgrade to Spring Session 3.3.6
...
Closes gh-44114
2025-02-19 23:10:49 +00:00
Andy Wilkinson
ff4babc4d1
Upgrade to jOOQ 3.19.19
...
Closes gh-44367
2025-02-19 23:10:49 +00:00
Andy Wilkinson
9704afbe2a
Upgrade to Tomcat 10.1.36
...
Closes gh-44331
2025-02-19 12:42:49 -08:00
Dmytro Nosan
e919fd806f
Polish ClassPath
...
See gh-44355
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-19 12:20:10 -08:00
Andy Wilkinson
cfc12bfef7
Remove unused empty-web.xml
...
Closes gh-44357
2025-02-19 15:50:33 +00:00
Stéphane Nicoll
b5d50ebf7a
Upgrade to Spring Kafka 3.2.7
...
Closes gh-44110
2025-02-19 09:45:31 +01:00
Stéphane Nicoll
c31872cd2f
Upgrade to Spring Integration 6.3.8
...
Closes gh-44109
2025-02-19 09:45:31 +01:00
Stéphane Nicoll
d89d1aa332
Upgrade to Spring Authorization Server 1.3.5
...
Closes gh-44105
2025-02-19 09:45:31 +01:00
Stéphane Nicoll
55c9603387
Upgrade to Spring AMQP 3.1.9
...
Closes gh-44277
2025-02-19 09:45:31 +01:00
Phillip Webb
082c5859e8
Polish
2025-02-18 17:22:53 -08:00
Phillip Webb
8aea6d575a
Update copyright year of changed files
2025-02-18 15:11:35 -08:00
Andy Wilkinson
bba964cd12
Prohibit upgrades to Tomcat 10.1.35 and 10.1.36
...
Closes gh-44331
2025-02-18 21:14:15 +00:00
Dmytro Nosan
0e81b6386e
Don't use ArgFile when using JavaCompiler
...
See gh-44340
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-18 12:10:41 -08:00
Dmytro Nosan
616d4cb149
Polish ClasspathBuilder
...
See gh-44330
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-18 12:08:49 -08:00
Andy Wilkinson
b6abb42ec9
Remove redundant prohibiting of Tomcat version
...
See gh-44331
2025-02-18 17:54:11 +00:00
Andy Wilkinson
7ba2d873a8
Upgrade to Spring Security 6.3.7
...
Closes gh-44113
2025-02-18 17:40:33 +00:00
Andy Wilkinson
99744ec9d8
Upgrade to Spring Pulsar 1.1.9
...
Closes gh-44112
2025-02-18 17:40:33 +00:00
Andy Wilkinson
e1d79e80bb
Upgrade to Spring GraphQL 1.3.4
...
Closes gh-44108
2025-02-18 17:40:33 +00:00
Stéphane Nicoll
29e498b6bc
Only run Windows-related tests on Windows
...
See gh-44305
2025-02-18 16:59:32 +01:00
Stéphane Nicoll
cd8c12da0b
Polish "Use ArgFile for classpath argument on Windows"
...
See gh-44305
2025-02-18 16:25:57 +01:00
Dmytro Nosan
a6b80831f0
Use ArgFile for classpath argument on Windows
...
This commit uses @argfile syntax for classpath argument on Windows OS
to avoid creating a command-line that is too long.
See gh-44305
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-18 16:25:57 +01:00
Andy Wilkinson
0a42082671
Fail fast when trying to use SNI with reactive Jetty
...
Previously only a servlet-based Jetty server would fail fast when
trying to use SNI with Jetty. A reactive Jetty server just ignored
the configuration. This commit aligns the behavior of the two by
making the reactive server fail fast as well.
Closes gh-44316
2025-02-18 10:05:09 +00:00
Stéphane Nicoll
062b73f4a4
Polish contribution
...
See gh-44310
2025-02-18 10:59:52 +01:00
Dmytro Nosan
84bde2a836
Catch WebServer stop or destroy exception when context refresh fails
...
This commit adds the stop or destroy failure as a suppressed
exception if either ServletWebServerApplicationContext or
ReactiveWebServerApplicationContext refresh fails.
See gh-44310
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-18 10:55:04 +01:00
Dmytro Nosan
35a77e2cf1
Fix build
...
See gh-44306
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-17 13:09:52 +01:00
Andy Wilkinson
045fbee395
Document need for $ separator when auto-config is nested
...
Closes gh-44298
2025-02-17 11:00:29 +00:00
Tran Ngoc Nhan
f3ce5bca0c
Clarifyt when UserDetailsService auto-configuration will back off
...
See gh-44267
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-02-17 11:29:37 +01:00
Tran Ngoc Nhan
e982136f5e
Implement RuntimeHintsRegistrar
...
See gh-44266
2025-02-17 11:09:29 +01:00
Stéphane Nicoll
6aa0055e5e
Polish "Do not auto-configure ViewResolver if spring-webmvc is absent"
...
See gh-44259
2025-02-17 11:01:23 +01:00
Dmytro Nosan
ac73766f9b
Do not auto-configure ViewResolver if spring-webmvc is absent
...
See gh-44259
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-17 11:01:07 +01:00
Dmytro Nosan
c28c16eb9c
Destroy WebServer if ReactiveWebServerApplicationContext refresh fails
...
Prior to this commit, if ReactiveWebServerApplicationContext failed to
refresh, only WebServer.stop() was called.
This commit additionally invokes WebServer.destroy(), aligning
the behavior with ServletWebServerApplicationContext when a refresh
failure occurs.
See gh-44134
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-17 10:45:34 +01:00
Stéphane Nicoll
0a673881a4
Upgrade to Spring Data Bom 2024.0.9
...
Closes gh-44106
2025-02-14 17:11:04 +01:00
Stéphane Nicoll
f91d2df403
Start building against Spring AMQP 3.1.9 snapshots
...
See gh-44277
2025-02-14 16:57:04 +01:00
Stéphane Nicoll
f7cbddabc5
Upgrade to Spring LDAP 3.2.11
...
Closes gh-44111
2025-02-14 07:54:46 +01:00
Stéphane Nicoll
69f01052dd
Upgrade to Json-smart 2.5.2
...
Closes gh-44263
2025-02-13 16:58:59 +01:00
Andy Wilkinson
2e00552130
Move MockPkcs11Security to spring-boot-testsupport
...
Closes gh-44260
2025-02-13 14:48:16 +00:00
Andy Wilkinson
874ee9936a
Improve handling of default values when printing the banner
...
Previously, default values for the following properties did not work:
- application.title
- application.formatted-version
- application.version
- spring-boot.formatted-version
- spring-boot.version
Instead of the default value, an empty string was used instead. For
example, ${application.title:Title} would be replaced with "" rather
than "Title" when the application title was unavailable.
This commit improves the ResourceBanner so that a placeholder's
default value is used. An empty string will still be used when no
default value is provided. For example, ${application.title} will
be replaced with "". As before, custom properties that are not
well-known will not be replaced at all. For example
${custom.property} will remain as-is in the printed banner when
the custom.property has not been set.
Fixes gh-44137
2025-02-13 10:13:12 +00:00
Stéphane Nicoll
a57fd8002f
Update copyright year of changed file
...
See gh-44240
2025-02-12 20:22:48 +01:00
zhoudong
6177010b11
Polish variable name in ServletWebServerApplicationContext.selfInitialize()
...
See gh-44240
Signed-off-by: zhoudong <jearton1024@gmail.com>
2025-02-12 20:22:14 +01:00
Stéphane Nicoll
6e33bd9fbb
Prevent upgrade to Tomcat 10.1.35
...
Closes gh-44219
2025-02-11 15:11:15 +01:00
Stéphane Nicoll
c5779b2f8b
Upgrade to Reactor Bom 2023.0.15
...
Closes gh-44104
2025-02-11 13:51:35 +01:00
Stéphane Nicoll
2ee5e23a47
Upgrade to Netty 4.1.118.Final
...
Closes gh-44218
2025-02-11 13:51:35 +01:00
Stéphane Nicoll
18c64524a8
Upgrade to Micrometer Tracing 1.3.9
...
Closes gh-44103
2025-02-11 13:51:31 +01:00
Stéphane Nicoll
6fe757f72e
Upgrade to Micrometer 1.13.11
...
Closes gh-44102
2025-02-11 13:51:30 +01:00
Andy Wilkinson
3e5929a446
Remove duplicate dispatcher servlet auto-config tests
...
Closes gh-44207
2025-02-11 12:19:45 +00:00
Andy Wilkinson
ea76e46faa
Apply charset to Mustache's content type
...
Fixes gh-44053
2025-02-10 11:07:49 +00:00