Andy Wilkinson
0610fda733
Look at ResponseStatusException's cause for binding errors
...
Fixes gh-41984
2024-08-21 17:06:22 +01:00
Moritz Halbritter
66a41db079
Polish "Refactor BasicJsonParser to simplify JSON parsing logic"
...
See gh-41876
2024-08-21 13:20:36 +02:00
hyunmin0317
4a41006ee0
Refactor BasicJsonParser to simplify JSON parsing logic
...
See gh-41876
2024-08-21 13:17:27 +02:00
Moritz Halbritter
5ee522598f
Explain that enabling virtual threads disables traditional thread pools
...
Closes gh-41937
2024-08-21 11:58:53 +02:00
Stéphane Nicoll
67cf325727
Upgrade to Spring Pulsar 1.0.9
...
Closes gh-41727
2024-08-21 08:25:03 +02:00
Stéphane Nicoll
0908771ff2
Upgrade to Spring Integration 6.2.8
...
Closes gh-41973
2024-08-21 08:25:03 +02:00
Scott Frederick
21b15558a2
Use classpath index when building classpath in PropertiesLauncher
...
Fixes gh-41719
2024-08-20 15:47:44 -05:00
Stéphane Nicoll
dc67ec962b
Upgrade to Spring Session 3.2.5
...
Closes gh-41729
2024-08-20 19:21:35 +02:00
Stéphane Nicoll
bf370bc52d
Upgrade to Spring Authorization Server 1.2.6
...
Closes gh-41723
2024-08-20 19:21:35 +02:00
Piyal Ahmed
016e70cbd2
Polish
...
See gh-41957
2024-08-20 11:44:12 +02:00
Stéphane Nicoll
d23a7033dd
Upgrade to Spring Security 6.2.6
...
Closes gh-41728
2024-08-20 08:55:14 +02:00
Stéphane Nicoll
3ba45aab68
Upgrade to Spring Kafka 3.1.8
...
Closes gh-41952
2024-08-20 08:55:14 +02:00
Stéphane Nicoll
559d09ef30
Upgrade to Spring AMQP 3.1.7
...
Closes gh-41951
2024-08-20 08:55:10 +02:00
Stéphane Nicoll
8243c7ba98
Polish "Harmonize web handler code sample"
...
See gh-41948
2024-08-20 08:41:54 +02:00
Furkan ÖZBEK
bfce07894c
Harmonize web handler code sample
...
See gh-41948
2024-08-20 08:40:53 +02:00
Phillip Webb
f1987e6f8b
Update copyright year of changed files
2024-08-19 16:45:34 -07:00
Andy Wilkinson
f4b73da657
Document when environment variable property mapping applies
...
Closes gh-41877
2024-08-19 17:51:11 +01:00
Stéphane Nicoll
0e4091ec2c
Upgrade to Spring Retry 2.0.8
...
Closes gh-41941
2024-08-19 17:30:11 +02:00
Stéphane Nicoll
56ad028345
Upgrade to Spring Data Bom 2023.1.9
...
Closes gh-41724
2024-08-19 17:30:07 +02:00
Stéphane Nicoll
51729a9e59
Upgrade to Maven Install Plugin 3.1.3
...
Closes gh-41940
2024-08-19 17:30:07 +02:00
Stéphane Nicoll
2e0244b92d
Upgrade to Maven Deploy Plugin 3.1.3
...
Closes gh-41939
2024-08-19 17:30:03 +02:00
Stéphane Nicoll
1a4bfa121d
Upgrade to Dropwizard Metrics 4.2.27
...
Closes gh-41938
2024-08-19 17:29:59 +02:00
Stéphane Nicoll
8a253d1db7
Fix formatting
2024-08-19 16:28:47 +02:00
Stéphane Nicoll
f1e5108b59
Improve Javadoc of slice test annotations
...
This commit harmonizes the phrasing that we use to describe what
components are considered for scanning when a slice test is enabled.
This makes the description of the default filter explicit, with an
exhaustive description of the annotations and/or base classes.
Closes gh-41914
2024-08-19 16:19:18 +02:00
Stéphane Nicoll
6fd1f0f1f5
Avoid using JRE.OTHER for Infinispan tests
...
See gh-41909
2024-08-19 14:38:54 +02:00
Andy Wilkinson
bc1920d6bb
Use a JRE range to control when Artemis tests are enabled
...
Closes gh-41909
2024-08-19 09:58:51 +01:00
Christoph Dreis
393ec8ae51
Fix duplicate words
...
See gh-41916
2024-08-19 09:44:29 +02:00
Yanming Zhou
737a1ed711
Remove unnecessary null check
...
See gh-41917
2024-08-19 09:36:08 +02:00
Andy Wilkinson
7a898cbbec
Prevent custom java.io.tmpdir from polluting JVM's temp file creation
...
If java.nio.file.Files.createTempFile or
java.io.File.createTempFile(String, String) is called for the first
time while the java.io.tmpdir system property is set to a custom
value, the JVM's temporary file creation will then try to use that
custom temporary directory for all subsequent file creation. This
can result in failures if the custom temporary directory is deleted
and the JVM then tries to use it.
This commit avoids the problem by calls the two createTempFile
methods while the default java.io.tmpdir value is in place. This
ensures that the JVM will use this original temporary directory for
all of its subsequent temporary file creation while allowing the
tests to use a custom location without unwanted side-effects.
Closes gh-41905
2024-08-16 19:19:15 +01:00
Stéphane Nicoll
2dbee6d988
Upgrade to Spring LDAP 3.2.6
...
Closes gh-41726
2024-08-16 09:33:25 +02:00
Stéphane Nicoll
d70a362bd3
Upgrade to Spring HATEOAS 2.2.4
...
Closes gh-41883
2024-08-16 09:33:24 +02:00
Stéphane Nicoll
d8639632b5
Upgrade to Pulsar Reactive 0.5.7
...
Closes gh-41882
2024-08-16 09:33:20 +02:00
Stéphane Nicoll
a823c75bf9
Upgrade to Byte Buddy 1.14.19
...
Closes gh-41881
2024-08-16 09:33:16 +02:00
rajin
c808d44c11
Register JarUrlClassLoader as parallel capable
...
See gh-41665
2024-08-15 11:11:18 +01:00
Andy Wilkinson
cc88a1db97
Test Gradle Plugin against Gradle 8.10
...
Closes gh-41870
2024-08-15 11:07:15 +01:00
Andy Wilkinson
e9da0c237e
Correct grammar in 'Running your Application with Maven'
...
Closes gh-41868
2024-08-15 10:38:57 +01:00
Andy Wilkinson
e7e5ed1508
Don't initialize containers during AOT processing
...
Fixes gh-41838
2024-08-14 18:56:00 +01:00
Moritz Halbritter
1d45016d8c
Upgrade to spring-javaformat 0.0.43
...
Closes gh-41853
2024-08-14 16:32:41 +02:00
Scott Frederick
b43d97b359
Document the need to explicitly reset mock servers
...
When MockServerRestTemplateCustomizer and MockServerRestClientCustomizer
are used directly instead of via auto-configuration, it is necessary to
manually reset the MockRestServiceServer expectations between tests.
Closes gh-41848
2024-08-13 16:01:46 -05:00
Stéphane Nicoll
c0e61d1a86
Upgrade to RxJava3 3.1.9
...
Closes gh-41844
2024-08-13 19:48:49 +02:00
Stéphane Nicoll
ae8d682871
Upgrade to Reactor Bom 2023.0.9
...
Closes gh-41722
2024-08-13 19:48:45 +02:00
Stéphane Nicoll
03ab9e9200
Upgrade to jOOQ 3.18.18
...
Closes gh-41843
2024-08-13 19:48:44 +02:00
Stéphane Nicoll
54fe89fd21
Upgrade to Jakarta Servlet JSP JSTL 3.0.1
...
Closes gh-41842
2024-08-13 19:48:40 +02:00
Stéphane Nicoll
de1f3ac3cf
Upgrade to Micrometer Tracing 1.2.9
...
Closes gh-41721
2024-08-13 16:21:36 +02:00
Stéphane Nicoll
f7a5c38cb5
Upgrade to Micrometer 1.12.9
...
Closes gh-41720
2024-08-13 16:21:15 +02:00
Stéphane Nicoll
13600295b0
Upgrade to Jetty 12.0.12
...
Closes gh-41770
2024-08-12 15:44:02 +02:00
Stéphane Nicoll
4fb62fe78d
Upgrade to Yasson 3.0.4
...
Closes gh-41776
2024-08-10 15:43:49 +02:00
Stéphane Nicoll
b19df0dad3
Upgrade to SLF4J 2.0.16
...
Closes gh-41774
2024-08-10 15:43:49 +02:00
Stéphane Nicoll
f824d5c7e8
Upgrade to Netty 4.1.112.Final
...
Closes gh-41773
2024-08-10 15:43:48 +02:00
Stéphane Nicoll
7102f65ace
Upgrade to MongoDB 4.11.3
...
Closes gh-41772
2024-08-10 15:43:48 +02:00
Stéphane Nicoll
8b168db562
Upgrade to Jetty Reactive HTTPClient 4.0.6
...
Closes gh-41769
2024-08-10 15:04:40 +02:00
Stéphane Nicoll
65015f6241
Upgrade to Jersey 3.1.8
...
Closes gh-41768
2024-08-10 15:04:36 +02:00
Stéphane Nicoll
94f26c0ba1
Upgrade to Infinispan 14.0.30.Final
...
Closes gh-41767
2024-08-10 15:04:32 +02:00
Stéphane Nicoll
d7670e9083
Upgrade to Hibernate 6.4.10.Final
...
Closes gh-41766
2024-08-10 15:04:27 +02:00
Stéphane Nicoll
a95c9f5355
Upgrade to Hazelcast 5.3.8
...
Closes gh-41765
2024-08-10 15:04:23 +02:00
Stéphane Nicoll
a5063d3365
Upgrade to ActiveMQ 5.18.5
...
Closes gh-41764
2024-08-10 15:04:18 +02:00
Moritz Halbritter
7386908ce0
Document that username and password are not used when Redis url is set
...
Closes gh-41231
2024-08-09 14:10:20 +02:00
Stéphane Nicoll
bbdaa2aa26
Upgrade to Neo4j Java Driver 5.23.0
...
Closes gh-41730
2024-08-08 11:59:19 +02:00
Stéphane Nicoll
fcf20f33a5
Start building against Spring Session 3.2.5 snapshots
...
See gh-41729
2024-08-08 11:56:00 +02:00
Stéphane Nicoll
51ad35672d
Start building against Spring Security 6.2.6 snapshots
...
See gh-41728
2024-08-08 11:55:56 +02:00
Stéphane Nicoll
ff0315a0d3
Start building against Spring Pulsar 1.0.9 snapshots
...
See gh-41727
2024-08-08 11:55:51 +02:00
Stéphane Nicoll
01d312a5fb
Start building against Spring LDAP 3.2.5 snapshots
...
See gh-41726
2024-08-08 11:55:47 +02:00
Stéphane Nicoll
1a9e844f05
Start building against Spring Data Bom 2023.1.9 snapshots
...
See gh-41724
2024-08-08 11:55:38 +02:00
Stéphane Nicoll
f447f62ee1
Start building against Spring Authorization Server 1.2.6 snapshots
...
See gh-41723
2024-08-08 11:55:34 +02:00
Stéphane Nicoll
5ffaa8c947
Start building against Reactor Bom 2023.0.9 snapshots
...
See gh-41722
2024-08-08 11:55:29 +02:00
Stéphane Nicoll
6b24ff7e17
Start building against Micrometer Tracing 1.2.9 snapshots
...
See gh-41721
2024-08-08 11:55:25 +02:00
Stéphane Nicoll
191843f280
Start building against Micrometer 1.12.9 snapshots
...
See gh-41720
2024-08-08 11:55:20 +02:00
Stéphane Nicoll
877f57fea7
Fix formatting
2024-08-08 08:47:52 +02:00
Stéphane Nicoll
9c5b85bc07
Add TWENTY_THREE to JavaVersion enum
...
This commit uses JRE#OTHER as JUnit does not have support for Java 23
yet, see https://github.com/junit-team/junit5/issues/3918
Closes gh-41710
2024-08-07 20:06:17 +02:00
Stéphane Nicoll
1246cab30b
Disable Artemis tests on Java 23
...
Artemis does not work on Java 23, this commit therefore disables those
tests when running against a Java version higher than 22.
See https://issues.apache.org/jira/browse/ARTEMIS-4975
Unfortunately, the version of JUnit that we use has no value for Java
23, so we have to use OTHER for that purpose.
2024-08-07 17:33:17 +02:00
Stéphane Nicoll
a6567c7d47
Disable Infinispan tests on Java 23
...
Infinispan 14 does not work on Java 23, an upgrade to 15 is required.
This commit therefore disables those tests when running against a Java
version higher than 22.
Unfortunately, the version of JUnit that we use has no value for Java
23, so we have to use OTHER for that purpose.
2024-08-07 17:32:52 +02:00
Stéphane Nicoll
9817201833
Mention that meta-annotations are not supported
...
See gh-18517
2024-08-07 17:21:33 +02:00
Stéphane Nicoll
a81c8d92c1
Upgrade to Awaitility 4.2.2
...
Closes gh-41706
2024-08-07 11:39:04 +02:00
Stéphane Nicoll
815ab7df94
Add missing default value for Pulsar properties
...
Closes gh-41682
2024-08-01 14:54:28 +02:00
Andy Wilkinson
f6334ca186
Make reactive Elastic repositories back off without Reactor
...
Fixes gh-41672
2024-08-01 13:30:14 +01:00
Stéphane Nicoll
4d66084c73
Add missing default value for aggregation-temporality property
...
Closes gh-41674
2024-08-01 14:23:17 +02:00
Stéphane Nicoll
b9d8bc4715
Add missing default value for client-provider-type property
...
Closes gh-41666
2024-08-01 13:26:17 +02:00
Stéphane Nicoll
200fc15b5d
Detect backup jar when the package lifecycle is forked
...
Previously, if a classifier was set and build-image was executed from
the command-line, the build will fail as the plugin was unable to find
the original jar. This is because it relies on the attached artifacts
of the project, and those are not set when package has run as part of
a forked lifecycle.
This commit makes sure that the backup file is found by convention
first, the same way it is done for the target file.
Closes gh-26721
2024-07-31 17:01:00 +02:00
Stéphane Nicoll
59b47e336b
Remove invalid checksum policy setting
...
This might be a copy/paste error as the checksum policy is used for
deploying and our integration tests do not do that.
Closes gh-41651
2024-07-30 11:20:44 +02:00
Stéphane Nicoll
05468def54
Tolerate module-info with AOT processing
...
This commit updates the Maven Plugin to tolerate projects that are using
the module path on the JVM and targeting native images with AOT.
Previously, the plugin compiled AOT sources directly to target/classes
and the presence of a module-info there is enough to trigger a
compilation on the module path.
With this change we now compile in a separate directory that contains
the generated AOT classes (typically CGLIB proxies). These are copied to
target/classes once compilation completes already.
The integration test also uses our parent, rather than relying on what
Maven provides. That's because older Maven versions provide a default
compiler plugin version that did not handle the module path correctly.
Closes gh-33383
2024-07-30 10:56:06 +02:00
Stéphane Nicoll
47465f6ed5
Do not validate settings if publishing is disabled
...
This commit improves the Maven Plugin to only validate the publishing
settings if publishing is actually enabled.
Closes gh-29756
2024-07-29 16:55:02 +02:00
Andy Wilkinson
9f1c4b71aa
Fix inconsistency for effect on Actuator of defining security filter
...
Closes gh-41569
2024-07-29 12:46:20 +01:00
Andy Wilkinson
4ee24bf9bd
Polish "Add rule to prevent calls to Objects.requireNonNull()"
...
See gh-41611
2024-07-29 11:41:26 +01:00
Phillip Webb
1a8e9c14b1
Fix "Use Spring Data repositories" how-to to refer to interfaces
...
The previous how-to accidentally referenced the `@Repository` annotation
and not the Spring Data `Repository` interface.
Closes gh-41625
2024-07-26 16:20:09 +01:00
Tran Ngoc Nhan
13023665dc
Fix link to documentation for log4j-spring-boot
...
See gh-41612
2024-07-26 09:22:34 +02:00
Andy Wilkinson
5f666eec5b
Reduce warnings reported by Eclipse
...
Closes gh-41598
2024-07-25 14:55:00 +01:00
Andy Wilkinson
f9f530ddaa
Remove method references to improve compatibility
...
The use of method references requires the referenced method to be
present even if it isn't called. This made it impossible for Gradle
to remove the deprecated methods as it would break our plugin.
By switching the lambdas, the methods only have to be present when
they're called which will only happen with Gradle 8.2 and earlier.
Closes gh-41599
2024-07-24 19:22:05 +01:00
LamTrinh.Dev
b469c743e1
Fix link to Flyway reference documentation
...
See gh-41591
2024-07-23 16:41:44 +02:00
Andy Wilkinson
72867a3b25
Broaden test coverage for property binding with `@Name`
...
Closes gh-41588
2024-07-23 09:39:17 +01:00
Andy Wilkinson
9bb0c45ddb
Add tip about using `@Name` to rename constructor bound property
...
Closes gh-41577
2024-07-23 09:08:42 +01:00
Phillip Webb
61dc82d836
Update copyright year of changed files
2024-07-22 18:16:19 +01:00
Phillip Webb
ff1a4654d2
Polish
2024-07-22 18:15:57 +01:00
Andy Wilkinson
a10b000119
Fix constructor binding of EnumMaps
...
Fixes gh-41550
2024-07-19 16:28:16 +01:00
Andy Wilkinson
07b103cc2b
Prohibit upgrades to Undertow 2.3.15
...
Closes gh-41533
2024-07-17 07:42:02 +01:00
Andy Wilkinson
4e205ede1d
Upgrade to Spring Pulsar 1.0.8
...
Closes gh-41532
2024-07-17 07:38:49 +01:00
Andy Wilkinson
0eb830de15
Upgrade to Spring Integration 6.2.7
...
Closes gh-41296
2024-07-16 18:50:21 +01:00
Andy Wilkinson
7966d11c49
Upgrade to Spring GraphQL 1.2.8
...
Closes gh-41523
2024-07-16 12:37:29 +01:00
Andy Wilkinson
1cc7498c9a
Add property for Integration's default endpoint timeout
...
Fixes gh-41477
2024-07-16 11:22:27 +01:00
Andy Wilkinson
17d6f90468
Document types to which format properties apply
...
Closes gh-41482
2024-07-16 08:47:30 +01:00
Andy Wilkinson
6941d0e84b
Document that logging.file.path if logging.file.name is set
...
Closes gh-41351
2024-07-16 08:45:01 +01:00
Stéphane Nicoll
49538adbda
Upgrade to Spring Kafka 3.1.7
...
Closes gh-41297
2024-07-16 08:09:34 +02:00
Andy Wilkinson
d63e3c3b53
Rethrow failure on main thread
...
Previously, if a failure occurred when evaluating conditions on a
separate thread, an NPE would occur on the main thread as the
expected array of outcomes was null.
This commit avoids the NPE and the lack of error reporting by
rethrowing on the main thread any failure that occurs on the
separate thread that's spawned to parallelize the evaluation.
Closes gh-41492
2024-07-15 15:09:57 +01:00
Andy Wilkinson
68ad8ff0a6
Upgrade to SQLite JDBC 3.43.2.2
...
Closes gh-41495
2024-07-15 15:02:07 +01:00
Andy Wilkinson
46aeb71114
Upgrade to Spring HATEOAS 2.2.3
...
Closes gh-41493
2024-07-15 15:02:02 +01:00
Andy Wilkinson
b49085bf8c
Upgrade to Spring Data Bom 2023.1.8
...
Closes gh-41294
2024-07-15 15:02:01 +01:00
Stéphane Nicoll
db9b62e628
Upgrade to Spring Retry 2.0.7
...
Closes gh-41484
2024-07-14 11:35:26 +02:00
Andy Wilkinson
b76b7b7bd9
Upgrade to AspectJ 1.9.22.1
...
Closes gh-41470
2024-07-12 16:02:54 +01:00
Andy Wilkinson
f702230c12
Test Gradle plugin against Gradle 8.9
...
Closes gh-41454
2024-07-12 07:31:24 +01:00
Andy Wilkinson
8bc45a20d7
Polish "Fix typos in BootstrapContext javadoc"
...
See gh-41443
2024-07-11 13:16:38 +01:00
John Blum
47fc9111cb
Fix typos in BootstrapContext javadoc
...
See gh-41443
2024-07-11 13:16:10 +01:00
Andy Wilkinson
2f962f7aa3
Upgrade to Reactor Bom 2023.0.8
...
Closes gh-41436
2024-07-10 14:24:49 +01:00
Andy Wilkinson
c05a40f180
Upgrade to Neo4j Java Driver 5.22.0
...
Closes gh-41370
2024-07-09 11:25:39 +01:00
Andy Wilkinson
430ae41ee3
Upgrade to Micrometer Tracing 1.2.8
...
Closes gh-41293
2024-07-09 11:21:34 +01:00
Andy Wilkinson
95f7c33f42
Upgrade to Micrometer 1.12.8
...
Closes gh-41292
2024-07-09 11:21:34 +01:00
Andy Wilkinson
9655e52cb1
Upgrade to Lombok 1.18.34
...
Closes gh-41368
2024-07-09 11:21:34 +01:00
Andy Wilkinson
d57b41436b
Upgrade to JsonAssert 1.5.3
...
Closes gh-41366
2024-07-09 11:21:33 +01:00
Andy Wilkinson
d79ee604ff
Upgrade to Jetty 12.0.11
...
Closes gh-41365
2024-07-09 11:21:32 +01:00
Andy Wilkinson
73416ee0e3
Upgrade to HttpCore5 5.2.5
...
Closes gh-41364
2024-07-09 11:21:32 +01:00
Andy Wilkinson
54fd4d2e9e
Upgrade to Groovy 4.0.22
...
Closes gh-41363
2024-07-09 11:21:31 +01:00
Andy Wilkinson
1bc7e22f95
Upgrade to Dependency Management Plugin 1.1.6
...
Closes gh-41362
2024-07-09 11:21:31 +01:00
Andy Wilkinson
f9023c1130
Upgrade to Byte Buddy 1.14.18
...
Closes gh-41361
2024-07-09 11:21:30 +01:00
Andy Wilkinson
7b809de0c4
Revert "Upgrade to Undertow 2.3.14.Final"
...
This reverts commit 71b789a2e3
.
See gh-41330
2024-07-08 19:38:46 +01:00
Andy Wilkinson
cb9135b743
Align GraphQL Java version with dependency from spring-graphql
...
Closes gh-41315
2024-07-08 10:32:04 +01:00
Andy Wilkinson
262a5c195c
Upgrade to GraphQL Java 21.5
...
Closes gh-41340
2024-07-08 10:28:03 +01:00
Moritz Halbritter
71b789a2e3
Upgrade to Undertow 2.3.14.Final
...
Closes gh-41330
2024-07-05 14:09:50 +02:00
Andy Wilkinson
c1e5d2e0c4
Start building against Spring Kafka 3.1.7 snapshots
...
See gh-41297
2024-07-03 10:45:28 +01:00
Andy Wilkinson
7d40df9c89
Start building against Spring Integration 6.2.7 snapshots
...
See gh-41296
2024-07-03 10:45:24 +01:00
Andy Wilkinson
9b1475cb40
Start building against Spring Data Bom 2023.1.8 snapshots
...
See gh-41294
2024-07-03 10:45:15 +01:00
Andy Wilkinson
a1a3cecf52
Start building against Micrometer Tracing 1.2.8 snapshots
...
See gh-41293
2024-07-03 10:45:11 +01:00
Andy Wilkinson
da7be08373
Start building against Micrometer 1.12.8 snapshots
...
See gh-41292
2024-07-03 10:45:06 +01:00
Andy Wilkinson
d71fdd9712
Make buildSrc's custom Gradle tasks consistently abstract
...
Closes gh-41272
2024-06-28 15:40:56 +01:00
Sébastien Deleuze
a6f1bb9590
Update Kotlin DSL examples of bootBuildImage to be additive
...
See gh-41173
2024-06-28 13:47:42 +02:00
Andy Wilkinson
365fdfee45
Reduce scope of mavenOptional feature to only the Maven Plugin
...
Previously, the mavenOptional was added to every published module but it
was only used by spring-boot-maven-plugin. This commit reduces its scope
so that it only affects the Maven plugin. It also reworks the
implementation to reuse the existing optional configuration rather than
declaring a new mavenOptional configuration. Lastly, publication of
Gradle Module Metadata (GMM) has been disabled for
spring-boot-maven-plugin. This is seen as preferable to publishing the
metadata – which isn't really needed as it does not contain any useful
additional information – and having to suppress warnings about
incomplete mapping of GMM to pom metadata.
Closes gh-41263
2024-06-28 11:39:46 +01:00
Andy Wilkinson
2ed72c6e4d
Correct syntax for plexus-utils exclusion
...
See 07442f8366
See gh-41248
2024-06-28 11:39:46 +01:00
Moritz Halbritter
2605f86731
Polish BaggagePropagationIntegrationTests
2024-06-28 10:27:46 +02:00
Andy Wilkinson
d2f74426f7
Work around bug in Gradle's Eclipse model
...
The model incorrectly marks the Gradle API and all of its
dependencies as test dependencies, making them unavailable in Eclipse
to code in src/main/java. We work around this by modifying the
classpath container to remove the test attribute from the
dependencies that should be available to main code.
See gh-41228
2024-06-27 12:58:36 +01:00
Moritz Halbritter
3e98a932e0
Polish BaggagePropagationIntegrationTests
2024-06-27 11:30:04 +02:00
Andy Wilkinson
4515c882c7
Merge branch 'gh-41228' into 3.2.x
...
Closes gh-41228
2024-06-27 09:55:59 +01:00
Phillip Webb
962936370a
Don't report already migrated properties
...
Update `PropertiesMigrationReporter` so that already migrated properties
are not reported. Prior to this commit, if a deprecated property was
replaced by a property that could bind with the name relaxed name it
would be reported. For example: `test.someproperty` being replaced with
`test.some-property`.
In order to check the actual underlying property name, the
`PropertySourceOrigin` class has been updated so that it is always
returned, even if another `Origin` is available.
Fixes gh-35774
2024-06-26 16:24:32 -07:00
Andy Wilkinson
654016af7f
Move Docker-related test support into a separate module
...
See gh-41228
2024-06-26 19:47:35 +01:00
Andy Wilkinson
843de3adbc
Update spring-boot-test-autoconfigure to use docker-test plugin
...
See gh-41228
2024-06-26 19:46:41 +01:00
Andy Wilkinson
ba053dbaac
Update spring-boot-actuator to use docker-test plugin
...
See gh-41228
2024-06-26 19:46:37 +01:00
Andy Wilkinson
9f166f2c85
Update spring-boot-autoconfigure to use docker-test plugin
...
See gh-41228
2024-06-26 19:46:33 +01:00
Andy Wilkinson
89a06608d2
Update spring-boot-maven-plugin to use docker-test plugin
...
See gh-41228
2024-06-26 19:46:29 +01:00
Andy Wilkinson
7d5a761d51
Update spring-boot-gradle-plugin to use docker-test plugin
...
See gh-41228
2024-06-26 19:46:25 +01:00
Andy Wilkinson
d5ef5e9c9d
Update spring-boot-buildpack-platform to use docker-test plugin
...
See gh-41228
2024-06-26 19:46:08 +01:00
Andy Wilkinson
6fbf08fa9a
Update spring-boot-docker-compose to use docker-test plugin
...
See gh-41228
2024-06-26 19:46:03 +01:00
Andy Wilkinson
3f1f801461
Update spring-boot-testcontainers to use docker-test plugin
...
See gh-41228
2024-06-26 19:45:52 +01:00
Andy Wilkinson
07442f8366
Exclude plexus-utils in favor of Maven's build-in version
...
Closes gh-41248
2024-06-26 16:59:23 +01:00
Andy Wilkinson
270f364aef
Polish "Make conversion mechanism plural"
...
See gh-41244
2024-06-26 14:26:51 +01:00
Mateus Scheper
068b159799
Make conversion mechanism plural
...
Fixing typo for the "mechanism" word and improving readability by
adding ".".
See gh-41244
2024-06-26 14:26:00 +01:00
Phillip Webb
712d935c8e
Fix checkstyle violation
...
See gh-35786
2024-06-25 22:16:03 -07:00
Phillip Webb
eef4c3c2c0
Allow TestcontainersLifecycleBeanPostProcessor to detect scoped beans
...
Update `TestcontainersLifecycleBeanPostProcessor` so that scoped beans
are included.
Fixes gh-35786
2024-06-25 22:00:34 -07:00
Phillip Webb
8bcdb4b06b
Improve error message when spring.config.import fails to resolve
...
Update `StandardConfigDataLocationResolver` to give a better error
message when a location cannot be resolved. Prior to this commit, a
location with a misspelling in the prefix would only give an error
about the file extension being not known.
Fixes gh-36243
2024-06-25 17:08:24 -07:00
Phillip Webb
85f6641a7e
Allow 'npipe://' prefix in Docker host address
...
Update `LocalHttpClientTransport` to support explicit `npipe://` prefix
in the host name. This is the format used in the Docker config from
v4.31.1 onward.
Fixes gh-41199
2024-06-25 12:40:11 -07:00
Andy Wilkinson
98c11bb5df
Use consistent current thread context classloader for initialization
...
Ensure `Thread.currentThread().getContextClassLoader()` returns the same
classloader for all types of initialization.
Prior to this commit, `JettyEmbeddedWebAppContext` would return a
different classloader when initializing Servlet and Filter classes. This
was due to the fact that our `deferredInitialize()` method has called
outside of a `getContext().call(...)`.
Fixes gh-37649
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-06-24 16:03:00 -07:00
Phillip Webb
57f452fec1
Disable ReactorResourceFactory use of global resources in tests
...
Add `ContextCustomizerFactory` to automatically disable the use of
`ReactorResourceFactory` global resources in tests.
Fixes gh-38199
2024-06-24 11:22:11 -07:00
Andy Wilkinson
b8927ebd90
Create ActiveMQConnectionFactory without using reflection
...
Fixes gh-41212
2024-06-24 11:51:31 +01:00
Moritz Halbritter
013a4dd2b7
Document tracing support for RestClient
...
Closes gh-41182
2024-06-21 11:03:54 +02:00
Stéphane Nicoll
e9eeac9028
Use Spring Framework's NoOpResponseErrorHandler
...
See spring-projects/spring-framework#32750
Closes gh-41183
2024-06-20 18:28:36 +01:00
Moritz Halbritter
c2f21e9fcd
Don't execute @DockerComposeTests if docker is not running
...
Closes gh-41171
2024-06-20 08:47:56 +02:00
Phillip Webb
2a4582b084
Update copyright year of changed files
2024-06-19 22:54:40 -07:00
Andy Wilkinson
126e87e44d
Fix appending of JDBC parameters to SQL Server JDBC URL
...
Fixes gh-41146
2024-06-19 22:51:40 -07:00
Andy Wilkinson
43cd24102f
Rework Docker Compose integration tests
...
This commit introduces a new annotation, `@DockerComposeTest`,
that allows a test class to have multiple tests, each of which
uses a different Docker Compose YAML file.
Closes gh-41154
2024-06-19 22:34:38 -07:00
Andy Wilkinson
491f34d25c
Improve container test code
...
Replace `DockerImageNames` with a enum and relocate it from the
`testcontainers` to `container` package. The enum now also
becomes a common location that we can use to apply container
configuration such as timeouts.
Closes gh-41164
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-06-19 20:10:03 -07:00
Andy Wilkinson
abf49e55db
Upgrade to Spring Session 3.2.4
...
Closes gh-41026
2024-06-19 20:34:02 +01:00
Andy Wilkinson
02cb160057
Upgrade to Spring Integration 6.2.6
...
Closes gh-41021
2024-06-19 20:34:01 +01:00
Andy Wilkinson
fd4dc4d719
Upgrade to Spring GraphQL 1.2.7
...
Closes gh-41020
2024-06-19 20:34:00 +01:00
Andy Wilkinson
b606a6e4ca
Upgrade to Spring Authorization Server 1.2.5
...
Closes gh-41017
2024-06-19 20:33:59 +01:00
Phillip Webb
242263d8d4
Update GitProperties date/time coercion to deal with more patterns
...
Update `GitProperties` to deal with updated date/time patterns that
are now used by the `git-commit-id` maven plugin. Previous patterns are
still supported as a fallback.
Fixes gh-41109
2024-06-18 17:01:03 -07:00
Andy Wilkinson
82fd923d00
Upgrade to Spring Security 6.2.5
...
Closes gh-41025
2024-06-18 09:09:44 +01:00
Andy Wilkinson
97b8c78411
Upgrade to Spring Pulsar 1.0.7
...
Closes gh-41024
2024-06-18 09:09:43 +01:00
Andy Wilkinson
e2296be9a7
Upgrade to Spring Kafka 3.1.6
...
Closes gh-41022
2024-06-18 09:09:42 +01:00
Andy Wilkinson
2689b4dac0
Upgrade to Spring AMQP 3.1.6
...
Closes gh-41143
2024-06-18 09:09:41 +01:00
Phillip Webb
60b7e6cf23
Allow 'status' and 'error' to be excluded from error response
...
Update `ErrorAttributeOptions` to allow the `status` and `error`
fields to be excluded from the response without throwing a
NullPointerException.
Fixes gh-30011
2024-06-17 16:48:28 -07:00
Andy Wilkinson
1f698d8ea2
Prohibit .java8 Jaybird versions
...
Closes gh-41130
2024-06-17 14:13:12 +01:00
Andy Wilkinson
beafbe5125
Upgrade to Spring LDAP 3.2.4
...
Closes gh-41023
2024-06-17 14:06:46 +01:00
Andy Wilkinson
10dcdccbe1
Upgrade to Spring Data Bom 2023.1.7
...
Closes gh-41018
2024-06-17 14:06:45 +01:00
Andy Wilkinson
7de738041e
Upgrade to Pulsar Reactive 0.5.6
...
Closes gh-41129
2024-06-17 14:06:45 +01:00
Andy Wilkinson
3c99f2e5be
Upgrade to jOOQ 3.18.17
...
Closes gh-41128
2024-06-17 14:06:40 +01:00
Andy Wilkinson
242afe1dcf
Upgrade to Jaybird 5.0.5.java11
...
Closes gh-41127
2024-06-17 14:06:35 +01:00
Andy Wilkinson
138307c13c
Disable test context cache in spring-boot-testcontainers
...
Closes gh-41124
2024-06-17 11:43:00 +01:00
Andy Wilkinson
03a87ccd69
Clarify how Container's Docker image name is used to name a connection
...
Closes gh-41111
2024-06-17 10:45:03 +01:00
Phillip Webb
96586525d5
Make DelegatingFilterProxyRegistrationBeanTests idempotent
...
Fixes gh-38630
2024-06-14 11:03:09 -07:00
Phillip Webb
0c1c7e844c
Don't detect main method from launcher classes
...
Update `MainMethod` discovery so that launcher classes from the
`org.springframework.boot.loader` code are not considered. This restores
the behavior of Spring Boot 2.7.11 and allows remote restart of uber
jars without pulling the loader classes into the `RestartClassLoader`.
Fixes gh-39733
2024-06-14 10:40:49 -07:00
Andy Wilkinson
31f967723d
Fix Mongo health indicators when using the strict V1 API
...
Closes gh-41101
2024-06-14 17:05:09 +01:00
Andy Wilkinson
3687e4c9aa
Upgrade to Reactor Bom 2023.0.7
...
Closes gh-41016
2024-06-13 12:55:23 +01:00
Andy Wilkinson
622c0a9fbc
Upgrade to Infinispan 14.0.29.Final
...
Closes gh-41096
2024-06-13 12:55:23 +01:00
Andy Wilkinson
2d2799784d
Upgrade to Hibernate 6.4.9.Final
...
Closes gh-41095
2024-06-13 12:55:18 +01:00
Scott Frederick
e228ed39b3
Support CNB builders that do not specify a stack
...
Fixes gh-41046
2024-06-12 15:16:21 -05:00
Moritz Halbritter
fed13b0e0c
Back off if DataSource is not on the classpath
...
Closes gh-41082
2024-06-12 11:02:51 +02:00
Phillip Webb
bcbcafaab2
Polish "Use method references when possible in test code"
...
See gh-40974
2024-06-11 12:58:04 -07:00
Ahmed Ashour
207327d97c
Use method references when possible in test code
...
See gh-40974
2024-06-11 12:58:00 -07:00
Phillip Webb
dcccb3b2b1
Polish "Use method references when possible"
...
See gh-40974
2024-06-11 12:57:59 -07:00
Ahmed Ashour
507229eef8
Use method references when possible
...
See gh-40974
2024-06-11 12:57:55 -07:00
Ahmed Ashour
4f6509d5ff
Prevent unnecessary unboxing
...
See gh-40985
2024-06-11 12:24:13 -07:00
Ahmed Ashour
623c395c0c
Remove redundant cast
...
See gh-40985
2024-06-11 12:24:13 -07:00
Ahmed Ashour
2c5934dab2
Use 'switch' instead of 'if'
...
See gh-40985
2024-06-11 12:24:11 -07:00
Phillip Webb
ecc9a2352d
Polish "Use constructor rather than Collection.addAll"
...
See gh-41053
2024-06-11 10:02:27 -07:00
Piyal Ahmed
17adcfc180
Use constructor rather than Collection.addAll
...
See gh-41053
2024-06-11 09:39:45 -07:00
Phillip Webb
d37098153c
Polish
2024-06-11 09:35:59 -07:00
Andy Wilkinson
20fbe74dfe
Upgrade to Netty 4.1.111.Final
...
Closes gh-41063
2024-06-11 15:09:29 +01:00
Andy Wilkinson
11835d1c96
Upgrade to Micrometer Tracing 1.2.7
...
Closes gh-41027
2024-06-11 15:09:29 +01:00
Andy Wilkinson
428a6248f2
Upgrade to Micrometer 1.12.7
...
Closes gh-41015
2024-06-11 15:09:29 +01:00
Andy Wilkinson
42de5506c8
Upgrade to Maven Help Plugin 3.4.1
...
Closes gh-41062
2024-06-11 15:09:29 +01:00
Andy Wilkinson
8628fc8831
Upgrade to jOOQ 3.18.16
...
Closes gh-41061
2024-06-11 15:09:28 +01:00
Andy Wilkinson
6e95529eb3
Upgrade to Jetty 12.0.10
...
Closes gh-41060
2024-06-11 15:09:28 +01:00
Andy Wilkinson
db7efbbe82
Upgrade to Jetty Reactive HTTPClient 4.0.5
...
Closes gh-41059
2024-06-11 15:09:28 +01:00
Andy Wilkinson
62008fe6d5
Upgrade to Jersey 3.1.7
...
Closes gh-41058
2024-06-11 15:09:28 +01:00
Andy Wilkinson
c703dbad1e
Upgrade to HSQLDB 2.7.3
...
Closes gh-41057
2024-06-11 15:09:27 +01:00
Andy Wilkinson
a51102319f
Upgrade to FreeMarker 2.3.33
...
Closes gh-41056
2024-06-11 15:09:27 +01:00
Andy Wilkinson
60e02f83d8
Upgrade to Dropwizard Metrics 4.2.26
...
Closes gh-41055
2024-06-11 15:09:27 +01:00
Andy Wilkinson
f71e5c8298
Upgrade to Byte Buddy 1.14.17
...
Closes gh-41054
2024-06-11 15:09:27 +01:00
Donghoon Lee
8920c2f269
Fix typo in javadoc
...
See gh-41052
2024-06-11 15:01:06 +02:00
Mateus Scheper
80b7107c56
Improve readability of the documentation
...
See gh-41051
2024-06-11 14:54:30 +02:00
Scott Frederick
2bb74b261c
Disable stale checking for local Docker daemon connections
...
Fixes gh-40697
2024-06-10 17:27:02 -05:00
Andy Wilkinson
45e4f137de
Start building against Spring Session 3.2.4 snapshots
...
See gh-41026
2024-06-10 10:26:37 +01:00
Andy Wilkinson
b1e8216ccb
Start building against Spring Security 6.2.5 snapshots
...
See gh-41025
2024-06-10 10:26:37 +01:00
Andy Wilkinson
70a12d79ec
Start building against Spring Pulsar 1.0.7 snapshots
...
See gh-41024
2024-06-10 10:26:36 +01:00
Andy Wilkinson
a253ede0c1
Start building against Spring LDAP 3.2.4 snapshots
...
See gh-41023
2024-06-10 10:26:36 +01:00
Andy Wilkinson
a09e0e00b8
Start building against Spring Kafka 3.1.6 snapshots
...
See gh-41022
2024-06-10 10:26:35 +01:00
Andy Wilkinson
5f185df451
Start building against Spring Integration 6.2.6 snapshots
...
See gh-41021
2024-06-10 10:26:35 +01:00
Andy Wilkinson
be33a3579c
Start building against Spring GraphQL 1.2.7 snapshots
...
See gh-41020
2024-06-10 10:26:35 +01:00
Andy Wilkinson
26692a7f26
Upgrade to Neo4j Java Driver 5.21.0
...
Closes gh-41028
2024-06-10 10:26:34 +01:00
Andy Wilkinson
34b99bd6be
Start building against Spring Data Bom 2023.1.7 snapshots
...
See gh-41018
2024-06-10 10:26:33 +01:00
Andy Wilkinson
a2b1638d77
Start building against Spring Authorization Server 1.2.5 snapshots
...
See gh-41017
2024-06-10 10:26:33 +01:00
Andy Wilkinson
a620bb4201
Start building against Reactor Bom 2023.0.7 snapshots
...
See gh-41016
2024-06-10 10:26:32 +01:00
Andy Wilkinson
1eb1dade94
Start building against Micrometer Tracing 1.2.7 snapshots
...
See gh-41027
2024-06-10 10:26:32 +01:00
Andy Wilkinson
73315b607f
Start building against Micrometer 1.12.7 snapshots
...
See gh-41015
2024-06-10 10:21:26 +01:00
Andy Wilkinson
fe536bf075
Allow SSL to be used with Tomcat's Http11Nio2Protocol
...
Fixes gh-41007
2024-06-07 12:46:19 +01:00
Andy Wilkinson
217c2c862b
Ignore file entries in META-INF/versions of multi-release jar
...
Fixes gh-41001
2024-06-06 13:28:36 +01:00
Andy Wilkinson
d4e9f458a3
Fix path handling and wrapping in LoaderHidingResource
...
Closes gh-39472
2024-06-05 12:33:21 +01:00
Andy Wilkinson
2ceb7b4217
Extract LoaderHidingResource as a top-level type
...
See gh-39472
2024-06-05 12:33:20 +01:00
Yanming Zhou
5cfd079c55
Remove unnecessary null check
...
See gh-40963
2024-06-04 08:39:26 +02:00
Khan, C M Abdullah
570522d876
Fix typos in method names and javadoc
...
See gh-40971
2024-06-03 14:05:52 +02:00
Andy Wilkinson
dd6f516d66
Test Gradle Plugin against 8.8
...
Closes gh-40573
2024-06-03 08:29:02 +01:00
Ahmed Ashour
f000af6a12
Remove unused parameter and polish javadoc
...
See gh-40955
2024-05-30 14:42:46 -05:00
Mateus Scheper
6c5ae329f3
Fix typo in Dev Services reference docs
...
See gh-40951
2024-05-30 14:27:27 -05:00
Andy Wilkinson
211bf95f45
Revert "Adapt to Spring Data Neo4j now requiring a transaction manager"
...
This reverts commit b6467ed826
. Changes
in Spring Data Neo4j mean that these changes are no longer necessary.
They also caused a problem with multiple transaction managers being
present when mixing Neo4j and, say, Data JPA.
Closes gh-40895
2024-05-30 08:00:11 +01:00
Andy Wilkinson
10e23b8f35
Polish "Fix Flyway 10 in a GraalVM native image"
...
See gh-40821
2024-05-29 14:21:17 +01:00
Maziz
345edb1301
Fix Flyway 10 in a GraalVM native image
...
See gh-40821
2024-05-29 14:18:10 +01:00
erie0210
2e1ad6bdcc
Add Kotlin example for @Testcontainers
...
See gh-40905
2024-05-29 14:28:11 +02:00
Khan, C M Abdullah
ab2ba674b6
Fix various minor inconsistencies in the documentation
...
See gh-40900
2024-05-29 14:12:04 +02:00
vsanna
3ae1c111a0
Warn in the documentation that spring.profiles.group can only be used in non-profile-specific documents
...
See gh-40918
2024-05-29 14:02:14 +02:00
Andy Wilkinson
5ee0580339
Upgrade to the latest Framework 6.0.x release
...
Closes gh-40929
2024-05-28 16:52:00 +01:00
Andy Wilkinson
d80cf05406
Remove unnecessary use of SingletonSupplier
...
As of Framework 6.1, it contains a field of a type that's
incompatible with Gradle's configuration cache.
Fixes gh-40911
2024-05-28 10:50:33 +01:00
Andy Wilkinson
477cdcae21
Upgrade to Spring Batch 5.1.2
...
Closes gh-40657
2024-05-22 19:14:48 +01:00
Andy Wilkinson
6ca3db067d
Upgrade to Netty 4.1.110.Final
...
Closes gh-40878
2024-05-22 19:14:47 +01:00
Andy Wilkinson
0ffd7e6910
Upgrade to Byte Buddy 1.14.16
...
Closes gh-40877
2024-05-22 19:14:42 +01:00
Andy Wilkinson
35fb54a4d3
Polish deprecation notice
2024-05-22 17:02:29 +01:00