From 72ecc2643e1b211c9a961eae45293f4662a7cf1b Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 25 Jul 2024 18:01:05 +0100 Subject: [PATCH 1/2] Fix javadoc URL --- spring-boot-project/spring-boot-dependencies/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 66e1760fa4..f40529f937 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1790,7 +1790,7 @@ bom { links { site("https://spring.io/projects/spring-boot") github("https://github.com/spring-projects/spring-boot") - javadoc("https://docs.spring.io/spring-boot/docs/{version}/api") + javadoc("https://docs.spring.io/spring-boot/docs/{version}/api/java") docs("https://docs.spring.io/spring-boot/docs/{version}/reference/htmlsingle") releaseNotes("https://github.com/spring-projects/spring-boot/releases/tag/v{version}") add("layers-xsd") { version -> "layers-xsd: https://www.springframework.org/schema/boot/layers/layers-%s.%s.xsd" From b63e1e7443efa374e39fb2ba8b69caf98ad3eb0b Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 25 Jul 2024 18:01:32 +0100 Subject: [PATCH 2/2] Migrate plugins to javadoc asciidoctor macro See gh-41605 --- .../modules/gradle-plugin/pages/packaging-oci-image.adoc | 4 ++-- .../docs/antora/modules/maven-plugin/pages/build-image.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc index 09447cb129..c809d8ef7a 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc @@ -128,12 +128,12 @@ The following table summarizes the available properties and their default values | `imageName` | `--imageName` -| xref:api:java/org/springframework/boot/buildpack/platform/docker/type/ImageReference.html#of-java.lang.String-[Image name] for the generated image. +| javadoc:org.springframework.boot.buildpack.platform.docker.type.ImageReference#of-java.lang.String-[Image name] for the generated image. | `docker.io/library/${project.name}:${project.version}` | `pullPolicy` | `--pullPolicy` -| xref:api:java/org/springframework/boot/buildpack/platform/build/PullPolicy.html[Policy] used to determine when to pull the builder and run images from the registry. +| javadoc:org.springframework.boot.buildpack.platform.build.PullPolicy[Policy] used to determine when to pull the builder and run images from the registry. Acceptable values are `ALWAYS`, `NEVER`, and `IF_NOT_PRESENT`. | `ALWAYS` diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc index 66b02ce388..815aebdf36 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc @@ -144,13 +144,13 @@ The following table summarizes the available parameters and their default values | `name` + (`spring-boot.build-image.imageName`) -| xref:api:java/org/springframework/boot/buildpack/platform/docker/type/ImageReference.html#of-java.lang.String-[Image name] for the generated image. +| javadoc:org.springframework.boot.buildpack.platform.docker.type.ImageName#of-java.lang.String-[Image name] for the generated image. | `docker.io/library/` + `${project.artifactId}:${project.version}` | `pullPolicy` + (`spring-boot.build-image.pullPolicy`) -| xref:api:java/org/springframework/boot/buildpack/platform/build/PullPolicy.html[Policy] used to determine when to pull the builder and run images from the registry. +| javadoc:org.springframework.boot.buildpack.platform.build.PullPolicy[Policy] used to determine when to pull the builder and run images from the registry. Acceptable values are `ALWAYS`, `NEVER`, and `IF_NOT_PRESENT`. | `ALWAYS`