Commit Graph

24754 Commits

Author SHA1 Message Date
arefbehboudi aa83bbee3d Polish
See gh-42095
2024-09-03 14:45:56 +01:00
Moritz Halbritter e7d6bd6ccd Test spring-boot-maven-plugin against Maven 3.9.9
Closes gh-42097
2024-09-03 14:29:49 +02:00
Johnny Lim a8452b54b5 Polish
See gh-42069
2024-09-01 18:50:38 -07:00
Phillip Webb 8c1d9872d2 Fix support for large zip files
Update `spring-boot-loader` to support large zip files by correctly
dealing with unsigned ints.

Fixes gh-42012
2024-09-01 15:13:46 -07:00
Phillip Webb cc2dc558f1 Don't report already migrated properties when has group
Refine the fix adding commit 962936370a so that items with a group
are correctly checked.

Fixes gh-42068
2024-08-31 11:18:47 -07:00
Phillip Webb 10855056cc Support blank MongoDB 'replica-set-name' properties
Update `null` checks to `StringUtils.hasText` to allow the
`replica-set-name' property to be overridden with an empty string.

Fixes gh-42055
2024-08-29 15:05:33 -07:00
Stéphane Nicoll 1822b2fade Include spring-boot-starter-parent in Integration tests repository
This commit makes sure that integration tests for the Maven Plugin have
access to the current "spring-boot-starter-parent" pom and its
hierarchy as new integration tests rely on that.

Closes gh-42000
2024-08-22 16:46:52 +02:00
Andy Wilkinson 0b24ee8571 Improve loading of jar entry certificates
Co-Authored-By: Phillip Webb <phil.webb@broadcom.com>
2024-08-22 10:56:25 +01:00
Andy Wilkinson 1a6b3a533f Improve documented logging property descriptions and default values
Closes gh-41933
2024-08-21 18:06:49 +01:00
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