Commit Graph

40775 Commits (64c9ac3aa7905e71b367a97483b20a7d407d9661)
 

Author SHA1 Message Date
Andy Wilkinson 2c756ea874 Use collectReachabilityMetadata task to add metadata to bootJar
Closes gh-32737
2 years ago
Moritz Halbritter b986a9b12e Add Flyway native-image support
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
2 years ago
Andy Wilkinson 3acdf590b7 Upgrade to Dependency Management Plugin 1.1.0
Closes gh-32760
2 years ago
Andy Wilkinson 93436f29dd Correct assertion in test for member with private constructor
See gh-32639
2 years ago
Phillip Webb a34b1d3c6e Don't detect private constructors on member classes for binding
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
2 years ago
Phillip Webb 754f39e6ef Polish 2 years ago
Phillip Webb e3df6c5b6f Move @ConstructorBinding annotation and support add default support
Relocate `@ConstructorBinding` from the `boot.context.properties`
package to `boot.context.properties.bind` and update the
`DefaultBindConstructorProvider` to support it.

Closes gh-32660
2 years ago
Moritz Halbritter db248b80bb Add info log message if AOT mode is enabled
Closes gh-32396
2 years ago
Moritz Halbritter 99765e785f Revert "Add info log message if AOT mode is enabled"
This reverts commit 6cb7fb5897.
2 years ago
Phillip Webb c16c6bc3b5 Fix reachability argfile format
Update the argfile to a format that actually works when
passed to the `native-image` command.

See gh-32738
2 years ago
Phillip Webb a8e701cee2 Provide maven configuration for add-reachability-metadata goal
Update `spring-boot-starter-parent` to execute the native build tools
`add-reachability-metadata` goal when the 'native' profile is active.

Closes gh-32736
2 years ago
Phillip Webb 8358a0e3f3 Fix reachability-metadata.properties location
Update tools to use the correct `reachability-metadata.properties`
location which should include the version number.

See gh-32738
2 years ago
Phillip Webb 9aa2854e00 Remove the execution of NBT in the native maven profile
Update `spring-boot-starter-parent` to remove the `native-compile`
execution.

Closes gh-31770
2 years ago
Brian Clozel 5cee828546 Fix javadoc warnings in HTTP Observation support 2 years ago
Brian Clozel cbca457eff Adapt to HTTP Observation changes in Framework
This commit adapts to the renames/package changes in the HTTP
Observation support in Spring Framework.

See spring-projects/spring-framework#29334
2 years ago
Andy Wilkinson ed1695f109 Merge branch '2.7.x' 2 years ago
Andy Wilkinson 99f0a5e01d Upgrade to Spring Security 5.7.4
Closes gh-32597
2 years ago
Andy Wilkinson c4746b2cef Merge branch '2.6.x' into 2.7.x 2 years ago
Andy Wilkinson a92388cbee Upgrade to Spring Security 5.6.8
Closes gh-32590
2 years ago
Andy Wilkinson 3b156872a9 Merge branch '2.7.x' 2 years ago
Andy Wilkinson bdb4f24300 Upgrade to Spring Kafka 2.8.10
Closes gh-32596
2 years ago
Andy Wilkinson 9a74cf6d8e Merge branch '2.6.x' into 2.7.x 2 years ago
Andy Wilkinson a16e3e6688 Upgrade to Spring Kafka 2.8.10
Closes gh-32589
2 years ago
Andy Wilkinson 68ea7299f6 Upgrade to Spring Kafka 3.0.0-RC1
Closes gh-32603
2 years ago
Andy Wilkinson 5fbcdfc393 Upgrade to Spring AMQP 3.0.0-RC1
Closes gh-32602
2 years ago
Andy Wilkinson 3082b0c5bf Add a section on AOT to the Gradle plugin's docs
Closes gh-32750
2 years ago
Andy Wilkinson e32c6cde72 Merge branch '2.7.x'
Closes gh-32759
2 years ago
Andy Wilkinson 3d5c864bc9 Merge branch '2.6.x' into 2.7.x
Closes gh-32758
2 years ago
Andy Wilkinson dade5ec3aa Test against Gradle 6.9.3
Closes gh-32757
2 years ago
Moritz Halbritter 6cb7fb5897 Add info log message if AOT mode is enabled
Closes gh-32396
2 years ago
Andy Wilkinson 4700a00d94 Auto-configure CompositeSpanHandler with Brave
Closes gh-32753
2 years ago
Andy Wilkinson ff16f6d6c6 Work around configuration cache problem in NBT Gradle Plugin
See gh-32752
See graalvm/native-build-tools#338
2 years ago
Andy Wilkinson e3c8c6e6ca Upgrade to Native Build Tools Plugin 0.9.15
Closes gh-32752
2 years ago
Andy Wilkinson db2641d20f Upgrade to Spring LDAP 3.0.0-RC1
Closes gh-32624
2 years ago
Andy Wilkinson 8fdd12ffeb Upgrade to Spring REST Docs 3.0.0-RC1
Closes gh-32623
2 years ago
Phillip Webb 76ef540716 Merge branch '2.7.x' 2 years ago
Phillip Webb 0f4a978731 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 6641a98913 Improve the phrasing around property source ordering 2 years ago
Phillip Webb 071649360b Generate 'META-INF/native-image/argfile' file for buildpack use
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
2 years ago
Phillip Webb 430c6b7e9f Downgrade to SLF4J 1.7 for spring-boot-gradle-plugin tests
The downgrade is required for tests to run in Eclipse.

Closes gh-32626
2 years ago
Phillip Webb b12fda2a72 Merge pull request for #32578 from rgoers
* 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
2 years ago
Phillip Webb 029aab6b58 Document Log4j2 extensions
See gh-32578
2 years ago
Phillip Webb 916dddfea6 Merge pull request for #32735 from rgoers
Closes gh-32735
2 years ago
Phillip Webb cec090c32e Polish 'Resolve URLs using Log4J2 mechanisms'
See gh-32735
2 years ago
Ralph Goers 5286785127 Resolve URLs using Log4j2 mechanisms
Update `Log4J2LoggingSystem` to that non file URLs are resolved using
Log4j2's `UrlConnectionFactory` mechanism rather than directly.

See gh-32735
2 years ago
Phillip Webb 01003b99db Merge pull request for #32734 from rgoers
Closes gh-32734
2 years ago
Phillip Webb 5a7964af2b Polish 'Support profile specific Log4j2 configuration'
See gh-32734
2 years ago
Ralph Goers 27ed30fdbf Support profile specific Log4j2 configuration
Add a `SpringProfileArbiter` Log4j2 plugin which allows Log4j2
configuration to be included or skipped based on the active Spring
`Environment` profiles.

See gh-32734
2 years ago
Phillip Webb 890c36448b Merge pull request for #32733 from rgoers
Closes gh-32733
2 years ago
Phillip Webb ed424d3adb Polish 'Add Log4J2 PropertySource backed by the Spring Environment'
See gh-32733
2 years ago