Commit Graph

48136 Commits

Author SHA1 Message Date
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
00cfe4dddd Don't pass -ea suffix into Gradle as the toolchain version
This commit is similar to what we had to do for Java 22-ea.

Given our actions have changed quite a bit, this commit replaces the
"java-distribution" parameter by a "java-early-access" parameter. When
set, it automatically switches the distribution to temurin as well as
applying the same handling of the Java version as in b8a6cab.

See gh-41698
2024-08-07 19:29:14 +02:00
Stéphane Nicoll
9e602ac0d3 Add CI for Java 23
Closes gh-41698
2024-08-07 17:42:22 +02:00
Stéphane Nicoll
7273a4bc26 Enable Java 23-ea on CI
See gh-41698
2024-08-07 17:34:56 +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
Moritz Halbritter
e0b6d26cb4 Merge pull request #41699 from dependabot[bot]
* pr/41699:
  Bump jfrog/setup-jfrog-cli from 4.1.3 to 4.2.1

Closes gh-41699
2024-08-06 09:08:22 +02:00
dependabot[bot]
ecb806dd43 Bump jfrog/setup-jfrog-cli from 4.1.3 to 4.2.1
Bumps [jfrog/setup-jfrog-cli](https://github.com/jfrog/setup-jfrog-cli) from 4.1.3 to 4.2.1.
- [Release notes](https://github.com/jfrog/setup-jfrog-cli/releases)
- [Commits](8bab65dc31...105617d234)

---
updated-dependencies:
- dependency-name: jfrog/setup-jfrog-cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

See gh-41699
2024-08-06 09:08:08 +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
4b9bf631d5 Upgrade Java version in .sdkmanrc to 17.0.12
Closes gh-41635
2024-07-29 12:27:41 +01:00
Andy Wilkinson
8fb238ea18 Merge pull request #41611 from ivamly
* gh-41611:
  Polish "Add rule to prevent calls to Objects.requireNonNull()"
  Add rule to prevent calls to Objects.requireNonNull()

Closes gh-41611
2024-07-29 11:50:00 +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
ivamly
fb22c189f4 Add rule to prevent calls to Objects.requireNonNull()
See gh-41611
2024-07-29 10:35:44 +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
Stéphane Nicoll
92c3dbe606 Merge pull request #41612 from ngocnhan-tran1996
* pr/41612:
  Fix link to documentation for log4j-spring-boot

Closes gh-41612
2024-07-26 09:25:33 +02: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
Stéphane Nicoll
7161f92e33 Merge pull request #41591 from lamtrinhdev
* pr/41591:
  Fix link to Flyway reference documentation

Closes gh-41591
2024-07-23 16:46:11 +02: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
5fcae29178 Next development version (v3.2.9-SNAPSHOT) 2024-07-18 16:24:08 +01:00
Andy Wilkinson
f5df7e7e30 Fix documentation links in the README
Closes gh-41547
2024-07-17 14:15:30 +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
Stéphane Nicoll
d12ea2d3d2 Merge pull request #41507 from dependabot[bot]
* pr/41507:
  Polish "Bump jfrog/setup-jfrog-cli from 4.1.2 to 4.1.3"
  Bump jfrog/setup-jfrog-cli from 4.1.2 to 4.1.3

Closes gh-41507
2024-07-16 08:02:08 +02:00
Stéphane Nicoll
2fce9f27fa Polish "Bump jfrog/setup-jfrog-cli from 4.1.2 to 4.1.3"
See gh-41507
2024-07-16 08:01:57 +02:00
dependabot[bot]
c2b63fd20b Bump jfrog/setup-jfrog-cli from 4.1.2 to 4.1.3
Bumps [jfrog/setup-jfrog-cli](https://github.com/jfrog/setup-jfrog-cli) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/jfrog/setup-jfrog-cli/releases)
- [Commits](7c95feb320...8bab65dc31)

---
updated-dependencies:
- dependency-name: jfrog/setup-jfrog-cli
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 08:01:09 +02:00
Stéphane Nicoll
0070489a8c Merge pull request #41508 from dependabot[bot]
* pr/41508:
  Polish "Bump gradle/actions from 3.4.2 to 3.5.0"
  Bump gradle/actions from 3.4.2 to 3.5.0

Closes gh-41508
2024-07-16 07:59:10 +02:00
Stéphane Nicoll
379edd4564 Polish "Bump gradle/actions from 3.4.2 to 3.5.0"
See gh-41508
2024-07-16 07:58:56 +02:00