Skip to content

Commit aa8df23

Browse files
committed
Adapt to starter changes in Spring Boot
Closes gh-1868
1 parent e181a86 commit aa8df23

File tree

2 files changed

+30
-20
lines changed

2 files changed

+30
-20
lines changed

start-site/src/main/resources/application.yml

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -299,51 +299,51 @@ initializr:
299299
id: session-data-mongodb
300300
description: Provides an API and a Spring Data MongoDB implementation for managing user session information.
301301
groupId: org.springframework.boot
302-
artifactId: spring-boot-session-data-mongodb
302+
artifactId: spring-boot-starter-session-data-mongodb
303303
mappings:
304304
- compatibilityRange: "[3.4.0,4.0.0-M1)"
305305
group-id: org.springframework.session
306306
artifact-id: spring-session-data-mongodb
307-
starter: false
307+
starter: false
308308
links:
309309
- rel: reference
310310
href: https://docs.spring.io/spring-session/reference/
311311
- name: Spring Session for Spring Data Redis
312312
id: session-data-redis
313313
description: Provides an API and a Spring Data Redis implementation for managing user session information.
314314
groupId: org.springframework.boot
315-
artifactId: spring-boot-session-data-redis
315+
artifactId: spring-boot-starter-session-data-redis
316316
mappings:
317317
- compatibilityRange: "[3.4.0,4.0.0-M1)"
318318
group-id: org.springframework.session
319319
artifact-id: spring-session-data-redis
320-
starter: false
320+
starter: false
321321
links:
322322
- rel: reference
323323
href: https://docs.spring.io/spring-session/reference/
324324
- name: Spring Session for Hazelcast
325325
id: session-hazelcast
326326
description: Provides an API and a Hazelcast implementation for managing user session information.
327327
groupId: org.springframework.boot
328-
artifactId: spring-boot-session-hazelcast
328+
artifactId: spring-boot-starter-session-hazelcast
329329
mappings:
330330
- compatibilityRange: "[3.4.0,4.0.0-M1)"
331331
group-id: org.springframework.session
332332
artifact-id: spring-session-hazelcast
333-
starter: false
333+
starter: false
334334
links:
335335
- rel: reference
336336
href: https://docs.spring.io/spring-session/reference/
337337
- name: Spring Session for JDBC
338338
id: session-jdbc
339339
description: Provides an API and a JDBC implementation for managing user session information.
340340
groupId: org.springframework.boot
341-
artifactId: spring-boot-session-jdbc
341+
artifactId: spring-boot-starter-session-jdbc
342342
mappings:
343343
- compatibilityRange: "[3.4.0,4.0.0-M1)"
344344
group-id: org.springframework.session
345345
artifact-id: spring-session-jdbc
346-
starter: false
346+
starter: false
347347
links:
348348
- rel: reference
349349
href: https://docs.spring.io/spring-session/reference/
@@ -365,6 +365,11 @@ initializr:
365365
- name: Spring Web Services
366366
id: web-services
367367
description: Facilitates contract-first SOAP development. Allows for the creation of flexible web services using one of the many ways to manipulate XML payloads.
368+
group-id: org.springframework.boot
369+
artifact-id: spring-boot-starter-webservices
370+
mappings:
371+
- compatibilityRange: "[3.4.0,4.0.0-M1)"
372+
artifact-id: spring-boot-starter-web-services
368373
aliases:
369374
- ws
370375
links:
@@ -575,9 +580,9 @@ initializr:
575580
- compatibilityRange: "[3.4.0,4.0.0-M1)"
576581
group-id: org.liquibase
577582
artifact-id: liquibase-core
583+
starter: false
578584
groupId: org.springframework.boot
579-
artifactId: spring-boot-liquibase
580-
starter: false
585+
artifactId: spring-boot-starter-liquibase
581586
links:
582587
- rel: reference
583588
href: https://docs.spring.io/spring-boot/{bootVersion}/how-to/data-initialization.html#howto.data-initialization.migration-tool.liquibase
@@ -588,9 +593,9 @@ initializr:
588593
- compatibilityRange: "[3.4.0,4.0.0-M1)"
589594
group-id: org.flywaydb
590595
artifact-id: flyway-core
596+
starter: false
591597
groupId: org.springframework.boot
592-
artifactId: spring-boot-flyway
593-
starter: false
598+
artifactId: spring-boot-starter-flyway
594599
links:
595600
- rel: reference
596601
href: https://docs.spring.io/spring-boot/{bootVersion}/how-to/data-initialization.html#howto.data-initialization.migration-tool.flyway
@@ -794,9 +799,9 @@ initializr:
794799
- compatibilityRange: "[3.4.0,4.0.0-M1)"
795800
group-id: org.springframework.kafka
796801
artifact-id: spring-kafka
802+
starter: false
797803
groupId: org.springframework.boot
798-
artifactId: spring-boot-kafka
799-
starter: false
804+
artifactId: spring-boot-starter-kafka
800805
links:
801806
- rel: reference
802807
href: https://docs.spring.io/spring-boot/{bootVersion}/reference/messaging/kafka.html
@@ -1100,9 +1105,13 @@ initializr:
11001105
- name: Zipkin
11011106
id: zipkin
11021107
description: Enable and expose span and trace IDs to Zipkin.
1103-
groupId: io.zipkin.reporter2
1104-
artifactId: zipkin-reporter-brave
1105-
starter: false
1108+
mappings:
1109+
- compatibilityRange: "[3.4.0,4.0.0-M1)"
1110+
group-id: io.zipkin.reporter2
1111+
artifact-id: zipkin-reporter-brave
1112+
starter: false
1113+
groupId: org.springframework.boot
1114+
artifactId: spring-boot-starter-zipkin
11061115
- name: Testing
11071116
content:
11081117
- name: Spring REST Docs
@@ -1154,10 +1163,10 @@ initializr:
11541163
- compatibilityRange: "[3.4.0,4.0.0-M1)"
11551164
group-id: com.unboundid
11561165
artifact-id: unboundid-ldapsdk
1166+
starter: false
11571167
groupId: org.springframework.boot
1158-
artifactId: spring-boot-ldap
1168+
artifactId: spring-boot-starter-ldap
11591169
scope: test
1160-
starter: false
11611170
links:
11621171
- rel: reference
11631172
href: https://docs.spring.io/spring-boot/{bootVersion}/reference/data/nosql.html#data.nosql.ldap.embedded

start-site/src/test/java/io/spring/start/site/extension/dependency/ldap/LdapUnboundIdBuildCustomizerTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ class LdapUnboundIdBuildCustomizerTests extends AbstractExtensionTests {
3333
@Test
3434
void shouldAddUnboundIdIfBoot4orLaterIsUsed() {
3535
ProjectRequest request = createProjectRequest(SupportedBootVersion.V4_0, "unboundid-ldap");
36-
assertThat(mavenPom(request)).hasDependency("org.springframework.boot", "spring-boot-ldap", null, "test")
36+
assertThat(mavenPom(request))
37+
.hasDependency("org.springframework.boot", "spring-boot-starter-ldap", null, "test")
3738
.hasDependency("com.unboundid", "unboundid-ldapsdk", null, "test");
3839
}
3940

0 commit comments

Comments
 (0)