Commit Graph

24703 Commits

Author SHA1 Message Date
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