spring-boot/spring-boot-tests/spring-boot-smoke-tests
Andy Wilkinson 0de466e06e Require dependency on s-b-dependencies to use its constraints
Previously, Spring Boot's modules published Gradle Module Metadata
(GMM) the declared a platform dependency on spring-boot-dependencies.
This provided versions for each module's own dependencies but also had
they unwanted side-effect of pulling in spring-boot-dependencies
constraints which would influence the version of other dependencies
declared in the same configuration. This was undesirable as users
should be able to opt in to this level of dependency management, either
by using the dependency management plugin or by using Gradle's built-in
support via a platform dependency on spring-boot-dependencies.

This commit reworks how Spring Boot's build uses
spring-boot-dependencies and spring-boot-parent to provide its own
dependency management. Configurations that aren't seen by consumers are
configured to extend a dependencyManagement configuration that has an
enforced platform dependency on spring-boot-parent. This enforces
spring-boot-parent's version constraints on Spring Boot's build without
making them visible to consumers. To ensure that the versions that
Spring Boot has been built against are visible to consumers, the
Maven publication that produces pom files and GMM for the published
modules is configured to use the resolved versions from the module's
runtime classpath.

Fixes gh-21911
2020-06-16 08:50:21 +01:00
..
spring-boot-smoke-test-activemq
spring-boot-smoke-test-actuator
spring-boot-smoke-test-actuator-custom-security Merge branch '2.2.x' into 2.3.x 2020-06-05 13:41:21 +01:00
spring-boot-smoke-test-actuator-log4j2
spring-boot-smoke-test-actuator-noweb
spring-boot-smoke-test-actuator-ui
spring-boot-smoke-test-amqp
spring-boot-smoke-test-animated-banner
spring-boot-smoke-test-ant Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-aop
spring-boot-smoke-test-atmosphere Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-batch
spring-boot-smoke-test-cache
spring-boot-smoke-test-data-couchbase
spring-boot-smoke-test-data-elasticsearch
spring-boot-smoke-test-data-jdbc
spring-boot-smoke-test-data-jpa
spring-boot-smoke-test-data-ldap
spring-boot-smoke-test-data-mongodb
spring-boot-smoke-test-data-neo4j
spring-boot-smoke-test-data-r2dbc
spring-boot-smoke-test-data-r2dbc-flyway Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-data-r2dbc-liquibase Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-data-redis
spring-boot-smoke-test-data-rest
spring-boot-smoke-test-data-solr
spring-boot-smoke-test-devtools
spring-boot-smoke-test-flyway
spring-boot-smoke-test-hateoas
spring-boot-smoke-test-hazelcast4
spring-boot-smoke-test-hibernate52
spring-boot-smoke-test-integration
spring-boot-smoke-test-jersey
spring-boot-smoke-test-jetty
spring-boot-smoke-test-jetty-jsp Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-jetty-ssl
spring-boot-smoke-test-jpa
spring-boot-smoke-test-jta-atomikos
spring-boot-smoke-test-jta-bitronix
spring-boot-smoke-test-jta-jndi/src/main
spring-boot-smoke-test-junit-jupiter
spring-boot-smoke-test-junit-vintage
spring-boot-smoke-test-kafka
spring-boot-smoke-test-liquibase
spring-boot-smoke-test-logback
spring-boot-smoke-test-oauth2-client
spring-boot-smoke-test-oauth2-resource-server
spring-boot-smoke-test-parent-context
spring-boot-smoke-test-profile
spring-boot-smoke-test-property-validation
spring-boot-smoke-test-quartz
spring-boot-smoke-test-reactive-oauth2-client
spring-boot-smoke-test-reactive-oauth2-resource-server
spring-boot-smoke-test-rsocket
spring-boot-smoke-test-saml2-service-provider
spring-boot-smoke-test-secure
spring-boot-smoke-test-secure-jersey
spring-boot-smoke-test-secure-webflux
spring-boot-smoke-test-servlet
spring-boot-smoke-test-session
spring-boot-smoke-test-session-webflux
spring-boot-smoke-test-simple
spring-boot-smoke-test-test
spring-boot-smoke-test-test-nomockito
spring-boot-smoke-test-testng Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-tomcat
spring-boot-smoke-test-tomcat-jsp Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-tomcat-multi-connectors
spring-boot-smoke-test-tomcat-ssl
spring-boot-smoke-test-traditional Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-undertow
spring-boot-smoke-test-undertow-ssl
spring-boot-smoke-test-war Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-web-freemarker
spring-boot-smoke-test-web-groovy-templates
spring-boot-smoke-test-web-jsp Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-web-method-security
spring-boot-smoke-test-web-mustache
spring-boot-smoke-test-web-secure
spring-boot-smoke-test-web-secure-custom
spring-boot-smoke-test-web-secure-jdbc
spring-boot-smoke-test-web-static Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-smoke-test-web-ui
spring-boot-smoke-test-webflux
spring-boot-smoke-test-webflux-coroutines
spring-boot-smoke-test-webservices
spring-boot-smoke-test-websocket-jetty
spring-boot-smoke-test-websocket-tomcat
spring-boot-smoke-test-websocket-undertow
spring-boot-smoke-test-xml