The ResourceProviderCustomizer, which is used by FlywayAutoConfiguration
gets replaced with NativeImageResourceProviderCustomizer when running
in AOT mode. The NativeImageResourceProvider does the heavy lifting when
running in a native image: it uses PathMatchingResourcePatternResolver
to find the migration files.
Closes gh-31999
Refine constructor binding detection logic so that `private`
constructors on member classes are no longer automatically picked for
constructor binding. This provides users a way of signalling that
they wish to use the constructor directly.
Closes gh-32639
Relocate `@ConstructorBinding` from the `boot.context.properties`
package to `boot.context.properties.bind` and update the
`DefaultBindConstructorProvider` to support it.
Closes gh-32660
Update `spring-boot-starter-parent` to execute the native build tools
`add-reachability-metadata` goal when the 'native' profile is active.
Closes gh-32736
Update the Maven and Gradle plugin to generate an `argfile` file
file under `META-INF/native-image` that contains `--exclude-config`
arguments that should be passed when generating a native image.
The contents of the file is generated for each nested jar that has a
`reachability-metadata.properties` file containing 'override=true'.
The `reachability-metadata.properties` file is expected to be generated
by the Graal native build tools plugin.
Closes gh-32738
* pr/32578:
Document Log4j2 extensions
* Merge pull request for #32735:
Polish 'Resolve URLs using Log4J2 mechanisms'
Resolve URLs using Log4j2 mechanisms
* Merge pull request for #32734:
Polish 'Support profile specific Log4j2 configuration'
Support profile specific Log4j2 configuration
* Merge pull request for #32733:
Polish 'Add Log4J2 PropertySource backed by the Spring Environment'
Add Log4J2 PropertySource backed by the Spring Environment
* Merge pull request for #32732:
Polish 'Support Log4J2 string lookups from the Spring Environment'
Support Log4J2 string lookups from the Spring Environment
* Merge pull request for #32730:
Polish 'Add Spring Environment to LoggerContext'
Add Spring Environment to LoggerContext
* Merge pull request for #32730:
Polish 'Support 'log4j.configurationFile' system property'
Support 'log4j.configurationFile' system property
Closes gh-32578
Add a `SpringProfileArbiter` Log4j2 plugin which allows Log4j2
configuration to be included or skipped based on the active Spring
`Environment` profiles.
See gh-32734