Skip to content

Commit fcd8e0f

Browse files
committed
Polish "Reference the latest version of the jOOQ manual"
Closes gh-13262
1 parent cb1530d commit fcd8e0f

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

spring-boot-docs/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,7 @@
10091009
<doctype>book</doctype>
10101010
<attributes>
10111011
<docinfo>true</docinfo>
1012+
<jooq-version>${jooq.version}</jooq-version>
10121013
<spring-version>${spring.version}</spring-version>
10131014
<spring-boot-version>${project.version}</spring-boot-version>
10141015
<spring-boot-docs-version>${project.version}</spring-boot-docs-version>

spring-boot-docs/src/main/asciidoc/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson;
5252
:test-examples: ../../test/java/org/springframework/boot
5353
:gradle-user-guide: https://docs.gradle.org/2.14.1/userguide
5454
:gradle-dsl: https://docs.gradle.org/2.14.1/dsl
55+
:jooq-manual: https://www.jooq.org/doc/{jooq-version}/manual-single-page
5556
// ======================================================================================
5657

5758
include::documentation-overview.adoc[]

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3210,11 +3210,11 @@ commercial and open source editions can be used with Spring Boot.
32103210
==== Code Generation
32113211
In order to use jOOQ type-safe queries, you need to generate Java classes from your
32123212
database schema. You can follow the instructions in the
3213-
https://www.jooq.org/doc/latest/manual-single-page/#jooq-in-7-steps-step3[jOOQ user manual].
3214-
If you are using the `jooq-codegen-maven` plugin (and you also use the
3215-
`spring-boot-starter-parent` "`parent POM`") you can safely omit the plugin's `<version>`
3216-
tag. You can also use Spring Boot defined version variables (e.g. `h2.version`) to
3217-
declare the plugin's database dependency. Here's an example:
3213+
{jooq-manual}/#jooq-in-7-steps-step3[jOOQ user manual]. If you are using the
3214+
`jooq-codegen-maven` plugin (and you also use the `spring-boot-starter-parent`
3215+
"`parent POM`") you can safely omit the plugin's `<version>` tag. You can also use Spring
3216+
Boot defined version variables (e.g. `h2.version`) to declare the plugin's database
3217+
dependency. Here's an example:
32183218

32193219
[source,xml,indent=0]
32203220
----

0 commit comments

Comments
 (0)