Commit Graph

49668 Commits

Author SHA1 Message Date
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
Phillip Webb de3744fcd1 Use javadoc macro for more links in adoc files
See gh-41605
2024-07-31 11:33:29 +01:00
Stéphane Nicoll d95078d7cb Merge pull request #41646 from dependabot[bot]
* pr/41646:
  Bump fast-xml-parser from 4.4.0 to 4.4.1 in /antora

Closes gh-41646
2024-07-31 09:43:40 +02:00
dependabot[bot] 13e1a4851f Bump fast-xml-parser from 4.4.0 to 4.4.1 in /antora
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.4.0...v4.4.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
...

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

See gh-41646
2024-07-31 09:38:35 +02:00
Phillip Webb 2c268b0773 Add more javadoc links for Antora to use
See gh-41614
2024-07-30 13:11:17 +01:00
Stéphane Nicoll e05a846a1c Merge branch '3.2.x' into 3.3.x
Closes gh-41652
2024-07-30 11:23:39 +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 397aeee9b6 Merge branch '3.2.x' into 3.3.x
Closes gh-41647
2024-07-30 10:58:31 +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 a63a1fe6c5 Merge branch '3.2.x' into 3.3.x
Closes gh-41641
2024-07-29 16:56:18 +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 16ba01a363 Merge branch '3.2.x' into 3.3.x
Closes gh-41638
2024-07-29 12:50:26 +01: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 d496a8555f Merge branch '3.2.x' into 3.3.x
Closes gh-41636
2024-07-29 12:28:03 +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 87417c0536 Merge branch '3.2.x' into 3.3.x
Closes gh-41633
2024-07-29 11:57:09 +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 60fa9bd04b Merge branch '3.2.x' into 3.3.x
Closes gh-41627
2024-07-26 16:23:09 +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
Phillip Webb 98ee3f2151 Fixup javadoc and reference URLs 2024-07-26 09:17:34 +01:00
Stéphane Nicoll 687b87f50a Merge branch '3.2.x' into 3.3.x
Closes gh-41622
2024-07-26 09:25:39 +02: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
Phillip Webb 28faf12062 Migrate plugins to javadoc asciidoctor macro
See gh-41605
2024-07-25 20:49:02 +01:00
Andy Wilkinson d47cb4a2ad Merge pull request #41596 from cms04
* gh-41596:
  Polish "Deprecate ControllerEndpointsSupplier and ExposableControllerEndpoint"
  Deprecate ControllerEndpointsSupplier and ExposableControllerEndpoint

Closes gh-41596
2024-07-25 18:31:35 +01:00
Andy Wilkinson 4c9013fe0d Polish "Deprecate ControllerEndpointsSupplier and ExposableControllerEndpoint"
See gh-41596
2024-07-25 18:31:28 +01:00
cms04 e35016422a Deprecate ControllerEndpointsSupplier and ExposableControllerEndpoint
See gh-41596
2024-07-25 18:31:27 +01:00
Phillip Webb fd58261b9d Revert "Migrate plugins to javadoc asciidoctor macro"
This reverts commit b63e1e7443.
2024-07-25 18:25:15 +01:00
Phillip Webb b63e1e7443 Migrate plugins to javadoc asciidoctor macro
See gh-41605
2024-07-25 18:03:37 +01:00
Phillip Webb 72ecc2643e Fix javadoc URL 2024-07-25 18:03:37 +01:00
Andy Wilkinson 163581cfe8 Rename DataLdapTestIntegrationTests to remove clash
Closes gh-41617
2024-07-25 16:35:37 +01:00
Andy Wilkinson c642f6d268 Merge branch '3.2.x' into 3.3.x
Closes gh-41613
2024-07-25 16:16:35 +01:00
Phillip Webb 2199a313be Migrate to javadoc asciidoctor macro
Closes gh-41605
2024-07-25 15:25:00 +01:00
Phillip Webb cbd9cd654b Add @springio/asciidoctor-extensions/javadoc-extension
See gh-41605
2024-07-25 15:15:02 +01:00
Phillip Webb e3cc95f6ab Upgrade to springio/asciidoctor-extensions 1.0.0-alpha.11 2024-07-25 15:14:39 +01:00
Andy Wilkinson 5f666eec5b Reduce warnings reported by Eclipse
Closes gh-41598
2024-07-25 14:55:00 +01:00
Andy Wilkinson a00304de28 Merge branch '3.2.x' into 3.3.x
Closes gh-41607
2024-07-24 19:22:49 +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
Andy Wilkinson 46f57288d7 Merge pull request #41574 from jmewes
* gh-41574:
  Polish "Add hint for new dependencies required for Flyway"
  Add hint for new dependencies required for Flyway

Closes gh-41574
2024-07-23 16:21:23 +01:00
Andy Wilkinson 8de72c80c6 Polish "Add hint for new dependencies required for Flyway"
See gh-41574
2024-07-23 16:21:06 +01:00
Jan Mewes 0fa9467ef3 Add hint for new dependencies required for Flyway
See gh-41574
2024-07-23 16:20:59 +01:00
Stéphane Nicoll 53b275d0c7 Merge branch '3.2.x' into 3.3.x
Closes gh-41593
2024-07-23 16:46:16 +02: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 72fd3f9392 Merge branch '3.2.x' into 3.3.x
Closes gh-41589
2024-07-23 10:06:15 +01: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 db4b483811 Merge branch '3.2.x' into 3.3.x
Closes gh-41585
2024-07-23 09:11:16 +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