Polish test starters

Polish test starter to:

- Align dependencies of starters and their -test companions
- Pull in regular starters from test starters

See gh-46356

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
This commit is contained in:
Andy Wilkinson
2025-10-09 22:07:26 -07:00
committed by Phillip Webb
co-authored by Phillip Webb
parent 873a771bc2
commit 062bda3229
74 changed files with 110 additions and 0 deletions
@@ -21,5 +21,6 @@ plugins {
description = ""
dependencies {
api(project(":starter:spring-boot-starter-activemq"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Spring Boot's Actuator which provides production ready features to help you monitor and manage your application"
dependencies {
api(project(":starter:spring-boot-starter-actuator"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-micrometer-metrics-test"))
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Spring AMQP and Rabbit MQ"
dependencies {
api(project(":starter:spring-boot-starter-amqp"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Apache Artemis and JMS"
dependencies {
api(project(":starter:spring-boot-starter-artemis"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing aspect-oriented programming with AspectJ"
dependencies {
api(project(":starter:spring-boot-starter-aspectj"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter testing using Spring Batch"
dependencies {
api(project(":starter:spring-boot-starter-batch"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Spring's caching support"
dependencies {
api(project(":starter:spring-boot-starter-cache"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-cache-test"))
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Cassandra distributed database"
dependencies {
api(project(":starter:spring-boot-starter-cassandra"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Cloud Foundry"
dependencies {
api(project(":starter:spring-boot-starter-cloudfoundry"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Couchbase document-oriented database"
dependencies {
api(project(":starter:spring-boot-starter-couchbase"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Cassandra distributed database and Spring Data Cassandra Reactive"
dependencies {
api(project(":starter:spring-boot-starter-data-cassandra-reactive"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-cassandra-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Cassandra distributed database and Spring Data Cassandra"
dependencies {
api(project(":starter:spring-boot-starter-data-cassandra"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-cassandra-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Couchbase document-oriented database and Spring Data Couchbase Reactive"
dependencies {
api(project(":starter:spring-boot-starter-data-couchbase-reactive"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-couchbase-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Couchbase document-oriented database and Spring Data Couchbase"
dependencies {
api(project(":starter:spring-boot-starter-data-couchbase"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-couchbase-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Elasticsearch search and analytics engine and Spring Data Elasticsearch"
dependencies {
api(project(":starter:spring-boot-starter-data-elasticsearch"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-elasticsearch-test"))
@@ -21,7 +21,9 @@ plugins {
description = "Starter for testing Spring Data JDBC"
dependencies {
api(project(":starter:spring-boot-starter-data-jdbc"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-jdbc-test"))
api(project(":module:spring-boot-data-jdbc-test"))
}
@@ -21,7 +21,9 @@ plugins {
description = "Starter for testing Spring Data JPA with Hibernate"
dependencies {
api(project(":starter:spring-boot-starter-data-jpa"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-jdbc-test"))
api(project(":module:spring-boot-data-jpa-test"))
}
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Spring Data LDAP"
dependencies {
api(project(":starter:spring-boot-starter-data-ldap"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-ldap-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for using MongoDB document-oriented database and Spring Data MongoDB Reactive"
dependencies {
api(project(":starter:spring-boot-starter-data-mongodb-reactive"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-mongodb-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing MongoDB document-oriented database and Spring Data MongoDB"
dependencies {
api(project(":starter:spring-boot-starter-data-mongodb"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-mongodb-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Neo4j graph database and Spring Data Neo4j"
dependencies {
api(project(":starter:spring-boot-starter-data-neo4j"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-neo4j-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Spring Data R2DBC"
dependencies {
api(project(":starter:spring-boot-starter-data-r2dbc"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-r2dbc-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Redis key-value data store with Spring Data Redis reactive and the Lettuce client"
dependencies {
api(project(":starter:spring-boot-starter-data-redis-reactive"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-redis-test"))
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Redis key-value data store with Spring Data Redis and the Lettuce client"
dependencies {
api(project(":starter:spring-boot-starter-data-redis"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-data-redis-test"))
@@ -21,5 +21,8 @@ plugins {
description = "Starter for testing Spring Data repositories exposed over REST using Spring Data REST and Spring MVC"
dependencies {
api(project(":starter:spring-boot-starter-data-rest"))
api(project(":starter:spring-boot-starter-jackson-test"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-webmvc-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Elasticsearch search and analytics engine"
dependencies {
api(project(":starter:spring-boot-starter-elasticsearch"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter for testing Flyway database migrations"
dependencies {
api(project(":starter:spring-boot-starter-flyway"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-jdbc-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing FreeMarker"
dependencies {
api(project(":starter:spring-boot-starter-freemarker"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,7 +21,9 @@ plugins {
description = "Starter testing Spring GraphQL"
dependencies {
api(project(":starter:spring-boot-starter-graphql"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-jackson-test"))
api(project(":module:spring-boot-graphql-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Groovy Templates"
dependencies {
api(project(":starter:spring-boot-starter-groovy-templates"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing GSON"
dependencies {
api(project(":starter:spring-boot-starter-gson"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter for testing Spring HATEOS to build hypermedia-based RESTful Spring MVC web applications"
dependencies {
api(project(":starter:spring-boot-starter-hateoas"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-webmvc-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Hazelcast"
dependencies {
api(project(":starter:spring-boot-starter-hazelcast"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Spring Integration"
dependencies {
api(project(":starter:spring-boot-starter-integration"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Jackson"
dependencies {
api(project(":starter:spring-boot-starter-jackson"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing JDBC with the HikariCP connection pool"
dependencies {
api(project(":starter:spring-boot-starter-jdbc"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-jdbc-test"))
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing JMS"
dependencies {
api(project(":starter:spring-boot-starter-jms"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,7 +21,9 @@ plugins {
description = "Starter for testing jOOQ to access SQL databases with JDBC"
dependencies {
api(project(":starter:spring-boot-starter-jooq"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-jdbc-test"))
api(project(":module:spring-boot-jooq-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing JSON-B"
dependencies {
api(project(":starter:spring-boot-starter-jsonb"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Apache Kafka"
dependencies {
api(project(":starter:spring-boot-starter-kafka"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Kotlin Serialization"
dependencies {
api(project(":starter:spring-boot-starter-kotlin-serialization"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing LDAP"
dependencies {
api(project(":starter:spring-boot-starter-ldap"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter for testing Liquibase database migrations"
dependencies {
api(project(":starter:spring-boot-starter-liquibase"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-jdbc-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Java Mail and Spring Framework's email sending support"
dependencies {
api(project(":starter:spring-boot-starter-mail"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing MongoDB document-oriented database"
dependencies {
api(project(":starter:spring-boot-starter-mongodb"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Mustache"
dependencies {
api(project(":starter:spring-boot-starter-mustache"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Neo4j graph database"
dependencies {
api(project(":starter:spring-boot-starter-neo4j"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing OpenTelemetry"
dependencies {
api(project(":starter:spring-boot-starter-opentelemetry"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,12 @@ plugins {
description = "Starter for testing Spring for Apache Pulsar Reactive"
dependencies {
api(project(":starter:spring-boot-starter-pulsar-reactive"))
api(project(":starter:spring-boot-starter-test"))
}
checkRuntimeClasspathForConflicts {
ignore { name -> name.startsWith("org/bouncycastle/") ||
name.matches("^org/apache/pulsar/.*/package-info.class\$") ||
name.equals("findbugsExclude.xml") }
}
@@ -21,5 +21,12 @@ plugins {
description = "Starter for testing Spring for Apache Pulsar"
dependencies {
api(project(":starter:spring-boot-starter-pulsar"))
api(project(":starter:spring-boot-starter-test"))
}
checkRuntimeClasspathForConflicts {
ignore { name -> name.startsWith("org/bouncycastle/") ||
name.matches("^org/apache/pulsar/.*/package-info.class\$") ||
name.equals("findbugsExclude.xml") }
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing the Quartz scheduler"
dependencies {
api(project(":starter:spring-boot-starter-quartz"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing R2DBC"
dependencies {
api(project(":starter:spring-boot-starter-r2dbc"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Reactor"
dependencies {
api(project(":starter:spring-boot-starter-reactor"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,6 +21,8 @@ plugins {
description = "Starter testing Spring's blocking HTTP clients (RestClient, RestTemplate and HTTP Service Clients)"
dependencies {
api(project(":starter:spring-boot-starter-restclient"))
api(project(":starter:spring-boot-starter-jackson-test"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-restclient-test"))
@@ -21,6 +21,8 @@ plugins {
description = "Starter for testing RSocket"
dependencies {
api(project(":starter:spring-boot-starter-rsocket"))
api(project(":starter:spring-boot-starter-jackson-test"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-rsocket-test"))
@@ -21,5 +21,8 @@ plugins {
description = "Starter for testing Spring Authorization Server features"
dependencies {
api(project(":starter:spring-boot-starter-security-oauth2-authorization-server"))
api(project(":starter:spring-boot-starter-security-test"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-webmvc-test"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter for testing Spring Security's OAuth2/OpenID Connect client features"
dependencies {
api(project(":starter:spring-boot-starter-security-oauth2-client"))
api(project(":starter:spring-boot-starter-security-test"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter for testing Spring Security's OAuth2 resource server features"
dependencies {
api(project(":starter:spring-boot-starter-security-oauth2-resource-server"))
api(project(":starter:spring-boot-starter-security-test"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter for testing Spring Security with SAML2"
dependencies {
api(project(":starter:spring-boot-starter-security-saml2"))
api(project(":starter:spring-boot-starter-security-test"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,6 +21,7 @@ plugins {
description = "Starter for testing Spring Security"
dependencies {
api(project(":starter:spring-boot-starter-security"))
api(project(":starter:spring-boot-starter-test"))
api(project(":module:spring-boot-security-test"))
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Spring Session with Sendgrid"
dependencies {
api(project(":starter:spring-boot-starter-sendgrid"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter for testing Spring Session with Spring Data MongoDB"
dependencies {
api(project(":starter:spring-boot-starter-data-mongodb-test"))
api(project(":starter:spring-boot-starter-session-data-mongodb"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Spring Session with Spring Data Redis"
dependencies {
api(project(":starter:spring-boot-starter-session-data-redis"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter for testing Spring Session with Hazelcast"
dependencies {
api(project(":starter:spring-boot-starter-session-hazelcast"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-hazelcast-test"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter for testing Spring Session with JDBC"
dependencies {
api(project(":starter:spring-boot-starter-session-jdbc"))
api(project(":starter:spring-boot-starter-jdbc-test"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing SQL"
dependencies {
api(project(":starter:spring-boot-starter-sql"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -21,5 +21,6 @@ plugins {
description = "Starter for testing Thymeleaf"
dependencies {
api(project(":starter:spring-boot-starter-thymeleaf"))
api(project(":starter:spring-boot-starter-test"))
}
@@ -22,4 +22,5 @@ description = "Starter for testing Java Bean Validation with Hibernate Validator
dependencies {
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-validation"))
}
@@ -21,5 +21,7 @@ plugins {
description = "Starter testing Spring's reactive HTTP clients (WebClient and HTTP Service Clients)"
dependencies {
api(project(":starter:spring-boot-starter-jackson-test"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-webclient"))
}
@@ -21,7 +21,9 @@ plugins {
description = "Starter for testing WebFlux and Reactor Netty"
dependencies {
api(project(":starter:spring-boot-starter-jackson-test"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-webflux"))
api(project(":module:spring-boot-webflux-test"))
}
@@ -21,7 +21,9 @@ plugins {
description = "Starter for testing Spring MVC and Tomcat"
dependencies {
api(project(":starter:spring-boot-starter-jackson-test"))
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-webmvc"))
api(project(":module:spring-boot-webmvc-test"))
}
@@ -22,6 +22,8 @@ description = "Starter for testing Spring Web Services"
dependencies {
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-webmvc-test"))
api(project(":starter:spring-boot-starter-webservices"))
api(project(":module:spring-boot-webservices-test"))
}
@@ -22,4 +22,6 @@ description = "Starter for testing Spring MVC WebSocket support"
dependencies {
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-webmvc-test"))
api(project(":starter:spring-boot-starter-websocket"))
}
@@ -22,4 +22,5 @@ description = "Starter for testing Zipkin"
dependencies {
api(project(":starter:spring-boot-starter-test"))
api(project(":starter:spring-boot-starter-zipkin"))
}