Skip to content

Commit e15aa0d

Browse files
authored
Merge Fix docs for Spring Boot 4
2 parents 7e54423 + 7e4e29e commit e15aa0d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

spring-session-docs/modules/ROOT/pages/guides/boot-jdbc.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ If you use Maven, you must add the following dependencies:
2626
<!-- ... -->
2727
2828
<dependency>
29-
<groupId>org.springframework.session</groupId>
30-
<artifactId>spring-session-jdbc</artifactId>
29+
<groupId>org.springframework.boot</groupId>
30+
<artifactId>spring-boot-starter-session-jdbc</artifactId>
3131
</dependency>
3232
</dependencies>
3333
----
@@ -63,7 +63,7 @@ spring.session.jdbc.table-name=SPRING_SESSION # Name of the database table used
6363
----
6464
====
6565

66-
For more information, see the {docs-url}/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-session[Spring Session] portion of the Spring Boot documentation.
66+
For more information, see the {spring-boot-docs}/reference/web/spring-session.html[Spring Session] portion of the Spring Boot documentation.
6767

6868
[[httpsession-jdbc-boot-configuration]]
6969
== Configuring the `DataSource`

spring-session-docs/modules/ROOT/pages/guides/boot-redis.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ We assume you are working with a working Spring Boot web application.
2525
<!-- ... -->
2626
2727
<dependency>
28-
<groupId>org.springframework.session</groupId>
29-
<artifactId>spring-session-data-redis</artifactId>
28+
<groupId>org.springframework.boot</groupId>
29+
<artifactId>spring-boot-starter-session-data-redis</artifactId>
3030
</dependency>
3131
</dependencies>
3232
----
3333
3434
.build.gradle
3535
[source,groovy,role="secondary"]
3636
----
37-
implementation("org.springframework.session:spring-session-data-redis")
37+
implementation("org.springframework.boot:spring-boot-starter-session-data-redis")
3838
----
3939
====
4040

spring-session-docs/spring-session-docs.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ def generateAttributes() {
6060
def springFrameworkVersion = getLibVersion(libs.org.springframework.spring.framework.bom.get().version)
6161
def ghTag = snapshotBuild ? 'main' : project.version
6262
def docsUrl = 'https://docs.spring.io'
63-
def springBootRefDocs = "${docsUrl}/spring-boot/docs/${springBootVersion}/reference/html"
63+
def springBootDocs = "${docsUrl}/spring-boot/${springBootVersion}"
6464
def springSecurityRefDocs = "${docsUrl}/spring-security/reference/${springSecurityVersion}"
6565
def springFrameworkRefDocs = "${docsUrl}/spring-framework/reference/${springFrameworkVersion}"
6666
return ['gh-tag':ghTag,
6767
'spring-boot-version': springBootVersion,
68-
'spring-boot-ref-docs': springBootRefDocs.toString(),
68+
'spring-boot-docs': springBootDocs.toString(),
6969
'spring-session-version': project.version,
7070
'spring-security-ref-docs': springSecurityRefDocs.toString(),
7171
'spring-framework-ref-docs': springFrameworkRefDocs.toString(),

0 commit comments

Comments
 (0)