Go to file
Sam Brannen b47cdaa259 Lazily register DynamicValuesPropertySource in the TestContext framework
Prior to this commit, as a result of commit 6cdb34410b, the
DynamicValuesPropertySource was eagerly registered in the Environment
even if the DynamicPropertyRegistry was never used to register dynamic
properties.

This commit ensures that the DynamicValuesPropertySource is only
registered if we know that the DynamicPropertyRegistry is actually used
-- either by a @⁠DynamicPropertySource method in a test class or via a
bean in the ApplicationContext that invokes add() on the
DynamicPropertyRegistry bean.

See gh-32271
Closes gh-32871
2024-05-22 14:25:19 +02:00
.github Merge branch '6.1.x' 2024-04-29 13:40:51 +02:00
buildSrc Upgrade to Groovy 4.0.21, Tomcat 10.1.23, Jetty 12.0.8, Netty 4.1.109, Undertow 2.3.13, Checkstyle 10.16 2024-04-29 18:04:25 +02:00
ci Merge branch '6.1.x' 2024-04-29 13:40:51 +02:00
framework-api Polish "Replace deprecated usage of project.buildDir" 2023-12-18 16:24:02 +01:00
framework-bom
framework-docs Merge branch '6.1.x' 2024-05-22 10:32:05 +02:00
framework-platform Merge branch '6.1.x' 2024-05-21 19:22:55 +02:00
gradle Merge branch '6.1.x' 2024-05-12 12:32:20 +02:00
integration-tests Spring cleaning: update copyright headers 2024-02-23 12:21:22 +01:00
spring-aop Merge branch '6.1.x' 2024-05-22 10:01:30 +02:00
spring-aspects Merge branch '6.1.x' 2024-05-21 11:17:16 +02:00
spring-beans Merge branch '6.1.x' 2024-05-21 08:56:41 +02:00
spring-context Merge branch '6.1.x' 2024-05-21 19:22:55 +02:00
spring-context-indexer Polish 2024-01-17 18:41:15 +01:00
spring-context-support Merge branch '6.1.x' 2024-05-07 15:53:00 +02:00
spring-core Merge branch '6.1.x' 2024-05-15 14:16:51 +02:00
spring-core-test Merge branch '6.1.x' 2024-04-23 15:34:49 +02:00
spring-expression Document SpEL IndexAccessor support in the reference manual 2024-05-15 11:47:42 +02:00
spring-instrument Ensure all packages declare package-info.java with null-safety annotations 2023-03-10 17:33:52 +01:00
spring-jcl Log4jLog re-resolves ExtendedLogger on deserialization 2023-11-09 11:46:22 +01:00
spring-jdbc Merge branch '6.1.x' 2024-05-10 12:29:49 +02:00
spring-jms Merge branch '6.1.x' 2024-05-10 12:29:49 +02:00
spring-messaging Use default phase 0 for WebSocket messaging 2024-05-21 15:49:38 +01:00
spring-orm Merge branch '6.1.x' 2024-05-21 11:17:16 +02:00
spring-oxm Merge branch '6.1.x' 2024-05-21 11:17:16 +02:00
spring-r2dbc Remove unneeded `@SuppressWarnings("NullAway")` 2024-05-06 18:28:54 +02:00
spring-test Lazily register DynamicValuesPropertySource in the TestContext framework 2024-05-22 14:25:19 +02:00
spring-tx Merge branch '6.1.x' 2024-05-07 15:53:00 +02:00
spring-web Allow ServerHttpObservationFilter to be extended 2024-05-21 20:01:17 +02:00
spring-webflux Support Content Negotiation with @ExceptionHandler 2024-05-20 17:22:30 +02:00
spring-webmvc Support Content Negotiation with @ExceptionHandler 2024-05-20 17:22:30 +02:00
spring-websocket Use default phase 0 for WebSocket messaging 2024-05-21 15:49:38 +01:00
src Reject private JUnit Jupiter lifecycle methods annotated with @⁠Autowired 2024-04-12 14:27:38 +02:00
.editorconfig
.gitattributes
.gitignore Modernize Antora Build 2024-05-22 10:20:20 +02:00
.sdkmanrc Upgrade to Java 17.0.11 2024-04-22 12:13:01 +02:00
CODE_OF_CONDUCT.adoc
CONTRIBUTING.md Update regarding Antora, etc. 2023-07-07 11:18:43 +02:00
LICENSE.txt
README.md Merge branch '6.1.x' 2024-03-14 15:05:46 +01:00
SECURITY.md Mention JAR signing key in SECURITY.md 2023-03-17 22:32:33 +01:00
build.gradle Stop linking to Websphere's Javadoc 2024-04-05 15:57:58 +02:00
gradle.properties Next development version (v6.1.8-SNAPSHOT) 2024-05-16 09:04:43 +00:00
gradlew Upgrade to Gradle 8.4 2023-10-08 16:08:29 +02:00
gradlew.bat Upgrade to Gradle 8.6 2024-02-03 11:38:56 +01:00
import-into-eclipse.md
import-into-idea.md Fix links in Javadoc and reference docs 2022-09-14 17:00:11 +02:00
settings.gradle Fix build warnings 2024-04-30 19:10:31 +02:00
update_copyright_headers.sh Use correct Kotlin file extension in update_copyright_headers.sh 2023-02-19 13:41:36 +01:00

README.md

Spring Framework Build Status Revved up by Develocity

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section of the reference documentation for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), GitHub wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Micro-Benchmarks

See the Micro-Benchmarks wiki page.

Build from Source

See the Build from Source wiki page and the CONTRIBUTING.md file.

Continuous Integration Builds

Information regarding CI builds can be found in the Spring Framework Concourse pipeline documentation.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on 𝕏. In-depth articles can be found at The Spring Blog, and releases are announced via our releases feed.

License

The Spring Framework is released under version 2.0 of the Apache License.