Commit Graph

18635 Commits (a0735eb3fbf3d418c1689d734f002bb80485ec0a)

Author SHA1 Message Date
Phillip Webb 41e0bbf4bb Add SpringBootTest.useMainMethod support
Add a new `useMainMethod` attribute to `SpringBootTest` which can be
used to determine how the test should run. The three available options
are:

	- `ALWAYS`
	- `NEVER`
	- `WHEN_AVAILABLE`

The default is `WHEN_AVAILABLE` which will attempt to launch the test
using the `main` method if there is one.

The `SpringBootContextLoader` has been updated to use the new
`SpringApplicationHook` interface when the main method is being used.

Closes gh-22405
2 years ago
Phillip Webb fadbb4b763 Polish SpringBootContextLoader 2 years ago
Phillip Webb d3957dfa3e Provide a public API for SpringApplication hooks
Create a new public SpringApplication Hook API based on the existing
`SpringApplicationRunListener` interface.

The previous package-private `SpringApplicationHooks` class has been
replaced with a public `SpringApplicationHook` interface which acts as
a factory that can create additional `SpringApplicationRunListener`
instances to hook in.

The boolean result from the previous `preRefresh` method has been
replaced with an `AbandonedRunException` which can be thrown from
the `SpringApplicationRunListener`.

Closes gh-32301
2 years ago
Phillip Webb 88913b11ce Allow additional listeners registration in early events
Update `EventPublishingRunListener` so that event listeners may add
additional listeners to the `SpringApplication` during early events.

Prior to this commit, the listeners were collected only once which
meant that if a listener for an `ApplicationStartingEvent` called
`application.addListener(...)`, it would be ignored.

Closes gh-32300
2 years ago
Phillip Webb 6955ed9dcf Make EventPublishingRunListener package private
Closes gh-32299
2 years ago
Phillip Webb 20b91c5ae2 Include 'classesDirectory' in ProcessTestAotMojo classpath
Update `ProcessTestAotMojo` so that the classesDirectory and
the testClassesDirectory are on the classpath when compiling
code.

See gh-32191
2 years ago
Phillip Webb db89ee6904 Deprecate spring.mvc.ignore-default-model-on-redirect property
Closes gh-32381
2 years ago
Stephane Nicoll 9620fb5317 Start building against Spring HATEOAS 1.5.2 snapshots
See gh-32378
2 years ago
Stephane Nicoll 1839c8385e Upgrade to RSocket 1.1.3
Closes gh-32380
2 years ago
Stephane Nicoll 9b122924c8 Upgrade to RSocket 1.1.3
Closes gh-32379
2 years ago
Stephane Nicoll 1fa6985311 Upgrade to REST Assured 5.2.0
Closes gh-32371
2 years ago
Stephane Nicoll 447804fdc4 Upgrade to Rabbit Stream Client 0.7.0
Closes gh-32370
2 years ago
Stephane Nicoll 6e59f3fe18 Upgrade to Rabbit AMQP Client 5.16.0
Closes gh-32369
2 years ago
Stephane Nicoll 52e0293bd0 Upgrade to Postgresql 42.5.0
Closes gh-32368
2 years ago
Stephane Nicoll 6a4fef33bb Upgrade to Oracle Database 21.7.0.0
Closes gh-32367
2 years ago
Stephane Nicoll 777fbce1fa Upgrade to OpenTelemetry 1.18.0
Closes gh-32366
2 years ago
Stephane Nicoll 297e9019ac Upgrade to Netty 4.1.82.Final
Closes gh-32365
2 years ago
Stephane Nicoll aa47a9bd83 Upgrade to MySQL 8.0.30
Closes gh-32364
2 years ago
Stephane Nicoll 3fa038a393 Upgrade to MSSQL JDBC 11.2.1.jre17
Closes gh-32363
2 years ago
Stephane Nicoll bcf452918b Upgrade to MongoDB 4.7.1
Closes gh-32362
2 years ago
Stephane Nicoll 81a75f9e5d Upgrade to Mockito 4.8.0
Closes gh-32361
2 years ago
Stephane Nicoll 27d03aac3c Upgrade to Maven Resources Plugin 3.3.0
Closes gh-32360
2 years ago
Stephane Nicoll f624026d4e Upgrade to Maven Javadoc Plugin 3.4.1
Closes gh-32359
2 years ago
Stephane Nicoll 57e4b4447c Upgrade to Maven Install Plugin 3.0.1
Closes gh-32358
2 years ago
Stephane Nicoll a1f4f519fc Upgrade to Maven Help Plugin 3.3.0
Closes gh-32357
2 years ago
Stephane Nicoll 1b06966130 Upgrade to Maven Assembly Plugin 3.4.2
Closes gh-32356
2 years ago
Stephane Nicoll 0cedc5dbba Upgrade to MariaDB 3.0.7
Closes gh-32355
2 years ago
Stephane Nicoll bcb5f048d2 Upgrade to Liquibase 4.16.0
Closes gh-32354
2 years ago
Stephane Nicoll 4c7d6799f8 Upgrade to Kafka 3.2.2
Closes gh-32352
2 years ago
Stephane Nicoll 4f6c3ab2b0 Upgrade to JUnit Jupiter 5.9.0
Closes gh-32351
2 years ago
Stephane Nicoll b4a33e52c1 Upgrade to jOOQ 3.17.4
Closes gh-32350
2 years ago
Stephane Nicoll b6b743006e Upgrade to Jersey 3.0.8
Closes gh-32349
2 years ago
Stephane Nicoll b70ebe04ff Upgrade to Janino 3.1.8
Closes gh-32348
2 years ago
Stephane Nicoll 36e3588416 Upgrade to Jackson Bom 2.13.4
Closes gh-32347
2 years ago
Stephane Nicoll 1849cddcd3 Upgrade to HtmlUnit 2.64.0
Closes gh-32346
2 years ago
Stephane Nicoll 1e3bcc5afd Upgrade to HSQLDB 2.7.0
Closes gh-32345
2 years ago
Stephane Nicoll 5b8aa1e8e3 Upgrade to Hibernate Validator 7.0.5.Final
Closes gh-32344
2 years ago
Stephane Nicoll e3ea832bd8 Upgrade to Hibernate 6.1.3.Final
Closes gh-32343
2 years ago
Stephane Nicoll 52ee9932e0 Upgrade to Hazelcast 5.1.3
Closes gh-32342
2 years ago
Stephane Nicoll 52bd273dd0 Upgrade to Gson 2.9.1
Closes gh-32341
2 years ago
Stephane Nicoll a16da73843 Upgrade to Groovy 4.0.5
Closes gh-32340
2 years ago
Stephane Nicoll 29c9837131 Upgrade to Flyway 9.3.0
Closes gh-32339
2 years ago
Stephane Nicoll 947a751d5a Upgrade to Elasticsearch Client 8.3.3
Closes gh-32338
2 years ago
Stephane Nicoll 464237fc21 Upgrade to Ehcache3 3.10.1
Closes gh-32337
2 years ago
Stephane Nicoll e3972b66af Upgrade to Dropwizard Metrics 4.2.12
Closes gh-32336
2 years ago
Stephane Nicoll ebf51813aa Upgrade to Couchbase Client 3.3.4
Closes gh-32335
2 years ago
Stephane Nicoll ce018d5b6e Upgrade to Byte Buddy 1.12.16
Closes gh-32334
2 years ago
Stephane Nicoll 024ee55f6d Upgrade to Artemis 2.25.0
Closes gh-32333
2 years ago
Stephane Nicoll bafee1bb7c Upgrade to Micrometer 1.10.0-M6
Closes gh-32238
2 years ago
Stephane Nicoll 6fb70d143d Map R2DBC Pool 'minIdle' property
Closes gh-32332
2 years ago
Andy Wilkinson 6d2a1d3f3b Adapt to breaking changes in Batch's transaction management
See gh-32237
2 years ago
Stephane Nicoll cdac50a1c9 Upgrade to UnboundID LDAPSDK 6.0.6
Closes gh-32329
2 years ago
Stephane Nicoll d4a88041dc Upgrade to R2DBC Bom Borca-SR2
Closes gh-32328
2 years ago
Stephane Nicoll 24ab4e88cd Upgrade to Netty 4.1.82.Final
Closes gh-32327
2 years ago
Stephane Nicoll 8621e63aef Upgrade to Kafka 3.1.2
Closes gh-32326
2 years ago
Stephane Nicoll 7e8c560e9b Upgrade to Johnzon 1.2.19
Closes gh-32325
2 years ago
Stephane Nicoll d525d36fb9 Upgrade to Janino 3.1.8
Closes gh-32324
2 years ago
Stephane Nicoll 7cff955030 Upgrade to Jackson Bom 2.13.4
Closes gh-32323
2 years ago
Stephane Nicoll 051331beb9 Upgrade to Infinispan 13.0.11.Final
Closes gh-32322
2 years ago
Stephane Nicoll c5b2bacfd3 Upgrade to Hibernate Validator 6.2.5.Final
Closes gh-32321
2 years ago
Stephane Nicoll 1c41032d66 Upgrade to Hibernate 5.6.11.Final
Closes gh-32320
2 years ago
Stephane Nicoll a00951d673 Upgrade to Embedded Mongo 3.4.9
Closes gh-32319
2 years ago
Stephane Nicoll 07985e34fb Upgrade to Elasticsearch 7.17.6
Closes gh-32318
2 years ago
Stephane Nicoll a111f66e76 Upgrade to Ehcache3 3.10.1
Closes gh-32317
2 years ago
Stephane Nicoll a32bf83f60 Upgrade to Dropwizard Metrics 4.2.12
Closes gh-32316
2 years ago
Stephane Nicoll c9067cd6a8 Upgrade to Couchbase Client 3.3.4
Closes gh-32315
2 years ago
Stephane Nicoll 89491c3aaa Upgrade to Byte Buddy 1.12.16
Closes gh-32314
2 years ago
Andy Wilkinson c6990a34f9 Merge branch '2.7.x' 2 years ago
Andy Wilkinson a533f4fa32 Polish 2 years ago
Stephane Nicoll c216e1e4a4 Upgrade to Netty 4.1.82.Final
Closes gh-32312
2 years ago
Stephane Nicoll a3465ced28 Upgrade to Kafka 3.0.2
Closes gh-32311
2 years ago
Stephane Nicoll 3d21fcb381 Upgrade to Johnzon 1.2.19
Closes gh-32310
2 years ago
Stephane Nicoll 4848f8db5b Upgrade to Janino 3.1.8
Closes gh-32309
2 years ago
Stephane Nicoll b4475e1387 Upgrade to Jackson Bom 2.13.4
Closes gh-32308
2 years ago
Stephane Nicoll 1775fc148c Upgrade to Hibernate Validator 6.2.5.Final
Closes gh-32307
2 years ago
Stephane Nicoll 7de6d72346 Upgrade to Hibernate 5.6.11.Final
Closes gh-32306
2 years ago
Stephane Nicoll 2fa4195326 Upgrade to Dropwizard Metrics 4.2.12
Closes gh-32305
2 years ago
Stephane Nicoll 0937adbbbb Upgrade to Reactor Bom 2022.0.0-M6
Closes gh-32240
2 years ago
Stephane Nicoll bb80d4aa44 Upgrade to Micrometer Tracing 1.0.0-M8
Closes gh-32239
2 years ago
Stephane Nicoll d29d92b013 Upgrade to Micrometer 1.10.0-M5
Closes gh-32238
2 years ago
Stephane Nicoll e68b346c05 Upgrade to Reactor 2020.0.23
Closes gh-32273
2 years ago
Stephane Nicoll dc4d850b16 Upgrade to Rector 2020.0.23
Closes gh-32266
2 years ago
Andy Wilkinson 4e8e5f623b Adapt to recent deprecations in Spring Batch
See gh-32237
2 years ago
Andy Wilkinson d103bbc034 Avoid returning null from TestContext.getTestClass()
Our mock didn't configure an expectation so null was returned. That's
prohibited by the javadoc and some recent Framework changes mean that
it's no longer tolerated.
2 years ago
Stephane Nicoll f23f11aa13 Start building against Spring AMQP 2.4.7 snapshots
See gh-32276
2 years ago
Stephane Nicoll 88f2b33cc1 Add AOT-generated classes to classpath of the compiler
See gh-32304
2 years ago
Andy Wilkinson 867c49337a Add AOT-generated classes to classpath of AOT JavaCompile tasks
See gh-32304
2 years ago
Andy Wilkinson 421943f3cf Add reflection hints for retrieving Undertow's ports
Closes gh-32303
2 years ago
Johnny Lim 4cbabc40b3 Polish MimeMappings changes
See gh-32298
2 years ago
Stephane Nicoll 26cec61f32 Adapt to API change in Spring Framework
See https://github.com/spring-projects/spring-framework/issues/29135
2 years ago
Stephane Nicoll 6201cc076d Upgrade to Micrometer 1.9.4
Closes gh-32272
2 years ago
Stephane Nicoll 72ad69d696 Upgrade to Micrometer 1.8.10
Closes gh-32265
2 years ago
Stephane Nicoll 84298e3326 Adapt to API change in Spring Framework
See https://github.com/spring-projects/spring-framework/issues/29005
2 years ago
Stephane Nicoll 9fe24fe692 Fix windows build
This commit makes sure that files that are generated in a temporary
directory are closed once the related test completes.
2 years ago
Stephane Nicoll 358ee2c56b Upgrade to Netty 4.1.81.Final
Closes gh-32227
2 years ago
Stephane Nicoll 3572ede2fa Start building against Spring Retry 2.0.0-M1 snapshots
See gh-32293
2 years ago
Stephane Nicoll ebef52b207 Merge branch '2.7.x'
Closes gh-32292
2 years ago
Stephane Nicoll 04a668fd07 Merge branch '2.6.x' into 2.7.x
Closes gh-32291
2 years ago
Oliver B. Fischer 6e4e76597a Make the path of the config directory better understandable
Currently, the documentation relates to the subdirectory for external
configurations as `/config`. Read as UNIX path, the leading slash
could be read as reference to the root directory `/`.

This commit updates the documentation to use 'config/' instead.

See gh-32224
2 years ago
Stephane Nicoll fd808ba16e Start building against Spring Batch 4.3.7 snapshots
See gh-32278
2 years ago
Stephane Nicoll b1b45f19fa Start building against Spring Kafka 2.8.9 snapshots
See gh-32277
2 years ago
Stephane Nicoll dbdb5f40ee Start building against Spring Data 2021.2.3 snapshots
See gh-32275
2 years ago
Stephane Nicoll b5aeb21e0a Start building against Spring Framework 5.3.23 snapshots
See gh-32274
2 years ago
Stephane Nicoll 1c1006f755 Start building against Micrometer 1.9.4 snapshots
See gh-32272
2 years ago
Phillip Webb aa62e3d1bd Fix deprecation issues in WebMvcAutoConfigurationTests 2 years ago
Phillip Webb fc279b7083 Deprecate ThemeResolver auto-configuration
Update `WebMvcAutoConfiguration` to deprecate the `ThemeResolver` bean
to align with recent Spring Framework changes.
2 years ago
Andy Wilkinson aafceb3868 Merge branch '2.7.x'
Closes gh-32285
2 years ago
Andy Wilkinson f17df7bf30 Merge branch '2.6.x' into 2.7.x
Closes gh-32284
2 years ago
Andy Wilkinson 23c2f73b3f Update tests to allow them to run on Java 19
Closes gh-32280
2 years ago
Andy Wilkinson 144fdaa703 Merge branch '2.6.x' into 2.7.x
Closes gh-32283
2 years ago
Andy Wilkinson 78f4242e46 Build with Gradle 7.5 while still supporting Gradle 6.8+
Closes gh-32281
2 years ago
Brian Clozel 89c61e9093 Adapt GlobalObservationConvention imports
See micrometer-metrics/micrometer#3387
2 years ago
Stephane Nicoll 6d0a504283 Start building against Spring Batch 4.3.7 snapshots
See gh-32271
2 years ago
Stephane Nicoll bb6307a506 Start building against Spring Kafka 2.8.9 snapshots
See gh-32270
2 years ago
Stephane Nicoll 91fb8b8b68 Start building against Spring AMQP 2.4.7 snapshots
See gh-32269
2 years ago
Stephane Nicoll b4e97b73a6 Start building against Spring Data 2021.1.7 snapshots
See gh-32268
2 years ago
Stephane Nicoll 0c5d5c331a Start building against Spring Framework 5.3.23 snapshots
See gh-32267
2 years ago
Stephane Nicoll 126c3cf0d8 Start building against Rector 2020.0.23 snapshots
See gh-32266
2 years ago
Stephane Nicoll 33b3a5f8bf Start building against Micrometer 1.8.10 snapshots
See gh-32265
2 years ago
Phillip Webb 46be4a3f30 Merge branch '2.7.x' 2 years ago
Phillip Webb e88a682220 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 85697ac482 Update copyright year of changed files 2 years ago
Phillip Webb 6e239d551a Update Spring Batch to upstream API changes
Fix Spring Batch tests following upstream changes related to Spring
Batch issue 4130.

Closes gh-32237
2 years ago
Phillip Webb 127d320636 Refactor code to work around Eclipse compiler bug
Refactor code to work around the Eclipse compiler bug reported at
https://github.com/eclipse-jdt/eclipse.jdt.core/issues/378

Closes gh-32264
2 years ago
Andy Wilkinson 0555dda63d Remove rarely used commands from the CLI
Closes gh-32263
2 years ago
Andy Wilkinson e112657e1a Merge branch '2.7.x'
Closes gh-32261
2 years ago
Andy Wilkinson 020e6dd3f1 Merge branch '2.6.x' into 2.7.x
Closes gh-32260
2 years ago
Andy Wilkinson 280ce6390a Add NINETEEN to JavaVersion enum
Closes gh-32226
2 years ago
Andy Wilkinson 5352468bcc Adapt to breaking transaction manager change in Spring Batch
See gh-32237
See spring-projects/spring-batch#4130
2 years ago
Andy Wilkinson 5577d16823 Start building against Spring Security 6.0.0-M7 snapshots
See gh-32255
2 years ago
Andy Wilkinson 62a84487c9 Start building against Spring Data 2022.0.0-M6 snapshots
See gh-32254
2 years ago
Phillip Webb d4ed2bd47a Support import into Eclipse 2022-06
Fix a few issues preventing clean project import into Eclipse 2022-06:

  - `buildSrc` need to limit module imports to prevent clashes
    with those in the gradle API jar.

  - The CLI app needs some classpath changes in order to allow
    compileOnly project dependencies to resolve.

  - `AbstractJpaAutoConfigurationTests` needs some minor refactoring
    in order for generic captures to work with the Eclipse compiler.
2 years ago
Andy Wilkinson 5470a6b349 Call FlywayConfigurationCustomizers after applying all other config
Closes gh-32070
2 years ago
Vedran Pavic 94f42d11e5 Add support for customizing WebJars resource handler path pattern
At present, both Spring MVC and Spring WebFlux auto-configurations
hardcode the path pattern for WebJars resource handlers to
"/webjars/**", which means users are unable to change the path.

This commit introduces "spring.mvc.webjars-path-pattern" and
"spring.webflux.webjars-path-pattern" configuration properties that
allow customization of WebJars resource handler path pattern.

See gh-31769
2 years ago
Stephane Nicoll ec63a981d0 Merge branch '2.7.x'
Closes gh-32248
2 years ago
Stephane Nicoll 2fb257ad22 Merge branch '2.6.x' into 2.7.x
Closes gh-32247
2 years ago
Stephane Nicoll 19c69ff743 Polish "Add support for detecting .yml Hazelcast config files"
See gh-32142
2 years ago
Neil Stevenson 5eaafdee9a Add support for detecting .yml Hazelcast config files
See gh-32142
2 years ago
Stephane Nicoll 9fb0ecdae9 Merge branch '2.7.x'
Closes gh-32246
2 years ago
Stephane Nicoll 960b034875 Polish "Make sure Hazelcast shutdown logs are available"
See gh-32184
2 years ago
Łukasz Dziedziul 24f3b2b1b7 Make sure Hazelcast shutdown logs are available
See gh-32184
2 years ago
Johnny Lim 2273191c03 Polish
See gh-32215
2 years ago
Stephane Nicoll cfdceba687 Merge branch '2.7.x'
Closes gh-32245
2 years ago
Stephane Nicoll 9ef067d589 Merge branch '2.6.x' into 2.7.x
Closes gh-32244
2 years ago
valentine-dev 89e19ddab9 Support lower-case input in PeriodStyle
See gh-32235
2 years ago
Stephane Nicoll df0674c949 Upgrade to Postgresql 42.3.7
Closes gh-32243
2 years ago
Stephane Nicoll 7688444704 Upgrade to Postgresql 42.3.7
Closes gh-32242
2 years ago
Andy Wilkinson 791ddfa909 Start building against Spring Batch 5.0.0-M6 snapshots
See gh-32237
2 years ago
Andy Wilkinson 17b2998bfb Start building against Reactor Bom 2022.0.0-M6 snapshots
See gh-32240
2 years ago
Jonatan Ivanov 13a2ea9194 Build against Micrometer 1.10.0-M5 and Tracing 1.0.0-M8 snapshots
See gh-32048

Co-authored-by: Marcin Grzejszczak <mgrzejszczak@vmware.com>
2 years ago
Stephane Nicoll 5e24b5a110 Stop using RuntimeHintsUtils#registerAnnotation 2 years ago
Stephane Nicoll e5d0e34268 Adapt to recent changes in Spring Framework
See https://github.com/spring-projects/spring-framework/issues/29082
See https://github.com/spring-projects/spring-framework/issues/28877
2 years ago
Andy Wilkinson 2dd2ca8f08 Merge branch '2.7.x'
Closes gh-32232
2 years ago
Andy Wilkinson 2003cfdd43 Merge branch '2.6.x' into 2.7.x
Closes gh-32231
2 years ago
Andy Wilkinson bc23e70024 Polish "Support lower-case input in DurationStyle"
See gh-32223
2 years ago
valentine-dev c579c9378b Support lower-case input in DurationStyle
See gh-32223
2 years ago
Brian Clozel 0789dd0eb1 Upgrade to SnakeYaml 1.31
Closes gh-32221
2 years ago
Brian Clozel cca5ee8a89 Merge branch '2.6.x' into 2.7.x
Closes gh-32229
2 years ago
Brian Clozel 724f9ebf71 Support SnakeYaml 1.31
This commit keeps the managed dependency for SnakeYaml at 1.29 but
enables forward compatibility for SnakeYaml 1.31.

Closes gh-32228
2 years ago
Andy Wilkinson 25e6c533d9 Polish "Add path to DiskSpaceHealthIndicator's details and log message"
See gh-31998
2 years ago
rreich 36f9230f01 Add path to DiskSpaceHealthIndicator's details and log message
See gh-31998
2 years ago
Andy Wilkinson d9265f0a92 Build against SnakeYAML 1.31 but still use 1.29 in dep mgmt and starter 2 years ago
Andy Wilkinson 3dfe28c9f1 Ensure that a test engine is available to AOT test processing
See gh-32192
2 years ago
Andy Wilkinson cf84ae7ad8 Exclude non-existent test classes dirs from AOT test processing
See gh-32192
2 years ago
Stephane Nicoll 33bec854ce Upgrade to Netty 4.1.80.Final
Closes gh-32227
2 years ago
Scott Frederick 95e62b7ff8 Sort the contents of generated imports files
The list of class names generated by annotation processors should be
sorted before being written to `AutoConfiguration.imports` and
`ManagementContextConfiguration.imports` files to make the build more
deterministic.

See gh-31228
2 years ago
Scott Frederick 6b3b0dd3a6 Generate ManagementContextConfiguration.imports file from annotations
This commit adds the
`ManagementContextConfigurationImportsAnnotationProcessor` to
the `spring-boot-autoconfigure-processor` annotation processor
module.

Closes gh-32222
2 years ago
Scott Frederick da4de7d67d Generate the AutoConfiguration.imports file from annotations
This commit adds the `AutoConfigurationImportsAnnotationProcessor` to
the `spring-boot-autoconfigure-processor` annotation processor
module. When added to a project build, the annotation processor will
generate the
`org.springframework.boot.autoconfigure.AutoConfiguration.imports`
file automatically from `@AutoConfiguration`-annotated classes. It
also applies the annotation processor to the Spring Boot build.

Closes gh-31228
2 years ago
Andy Wilkinson 795ea289db Adapt to BindingReflectionHintsRegistrar moving package 2 years ago
Andy Wilkinson cf8e84d406 Adapt to BindingReflectionHintsRegistrar moving into spring-core 2 years ago
Andy Wilkinson d6e9a03136 Adapt to synthesized annotation changes in Framework 2 years ago
Andy Wilkinson fc979397be Polish SpringBootAotPlugin 2 years ago
Andy Wilkinson fd28f6d1d6 Add Gradle plugin support for processing test contexts ahead-of-time
Closes gh-32192
2 years ago
Andy Wilkinson 746ed84120 Polish ProcessTestAotMojo 2 years ago
Phillip Webb 44f1949c5e Polish hint API calls 2 years ago
Scott Frederick 01c68a3dc8 Merge branch '2.7.x'
Closes gh-32217
2 years ago
Scott Frederick 7763a5df7d Polish auto-configuration documentation
Remove references to outdated information, emphasize use of the
`@AutoConfiguration` annotation and attributes, and edit for clarity.

Closes gh-32174
2 years ago
Sébastien Deleuze 138c55ee11 Refine ConfigurationPropertiesReflectionHintsProcessor
This commit refines ConfigurationPropertiesReflectionHintsProcessor
Java bean properties handling in order to register reflection hints
only for getters and setters, not for all methods.

It avoids including unconditionally method like SpringApplication#load
which in turn avoids shipping BeanDefinitionLoader and related transitively
used classes in the native image.

The gain is significant: it allows to remove up to 700 classes
(when no XML parser is used elsewhere) and to reduce the memory footprint
by 2M of RSS.

Closes gh-32186
2 years ago
Andy Wilkinson 49d3bf1d7f Remove AnsiColors following removal of image banner support
Closes gh-32209
2 years ago
Brian Clozel 4aa1efa2d8 Fix build with latest Spring for GraphQL changes 2 years ago
Andy Wilkinson ee701e5c7d Merge branch '2.7.x'
Closes gh-32199
2 years ago
Andy Wilkinson a253d8d589 Merge branch '2.6.x' into 2.7.x
Closes gh-32198
2 years ago
Andy Wilkinson 7d983be769 Clarify docs on disabling HTTP client request metrics
Closes gh-32136
2 years ago
hak7a3 fb61f8af53 Remove ANTLR 2 dependency management
See gh-32149
2 years ago
Andy Wilkinson 08fde3a004 Revert "Remove dependency management for ANTLR 2"
This reverts commit a46d6b3a4c.
2 years ago
Andy Wilkinson a46d6b3a4c Remove dependency management for ANTLR 2
Closes gh-32149
2 years ago
Andy Wilkinson 4c01810ca2 Merge branch '2.7.x'
Closes gh-32197
2 years ago
Andy Wilkinson 13edfba1f5 Fix Kotlin example for empty @DefaultValue constructor binding
Closes gh-32177
2 years ago
Phillip Webb 09bd531fe5 Add Maven plugin support for processing test contexts Ahead-of-time
Refactor and update the Spring Boot Maven Plugin so that it can
be used to perform AOT processing of test classes.

Closes gh-32191
2 years ago
Phillip Webb e599a70425 Disable ResetMocksTestExecutionListener on native
Add a guard for `ResetMocksTestExecutionListener` so that it is
not applied when running in a native image.

See gh-32195
2 years ago
Phillip Webb c0b3d36205 Rename 'generateAotSources' task to processAot'
See gh-31918
2 years ago
Phillip Webb 2f6354f633 Rename 'aot-generate' goal to process-aot'
See gh-31918
2 years ago
Phillip Webb 973e23dc5e Adapt to upstream Spring Framework changes 2 years ago
Phillip Webb 41c1d9f5c9 Polish 2 years ago
Phillip Webb c524f8c665 Merge branch '2.7.x' 2 years ago
Phillip Webb 13c0cf7e2a Refine Javadoc to use @AutoConfiguration
See gh-32166
2 years ago
Phillip Webb b2be193908 Merge branch '2.7.x' 2 years ago
Phillip Webb e31c295ee9 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb adc4e05eff Polish 2 years ago
Phillip Webb a993731ee8 Merge branch '2.7.x'
Closes gh-32168
2 years ago