Skip to content

Commit 88e9f1d

Browse files
Fix Maven buildpacks example in docs
See gh-21722
1 parent e3e229c commit 88e9f1d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/packaging-oci-image.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,11 @@ The following example instructs the builder to use a custom buildpack packaged i
340340
<groupId>org.springframework.boot</groupId>
341341
<artifactId>spring-boot-maven-plugin</artifactId>
342342
<configuration>
343-
<buildpacks>
344-
<buildpack>file:///path/to/example-buildpack.tgz</buildpack>
345-
<buildpack>urn:cnb:builder:paketo-buildpacks/java</buildpack>
343+
<image>
344+
<buildpacks>
345+
<buildpack>file:///path/to/example-buildpack.tgz</buildpack>
346+
<buildpack>urn:cnb:builder:paketo-buildpacks/java</buildpack>
347+
</buildpacks>
346348
</image>
347349
</configuration>
348350
</plugin>
@@ -370,7 +372,7 @@ A path to a gzipped tar file containing buildpack content:
370372
* `\file:///path/to/buildpack.tgz`
371373
* `/path/to/buildpack.tgz`
372374

373-
An OCI image:
375+
An OCI image containing a https://buildpacks.io/docs/buildpack-author-guide/package-a-buildpack/[packaged buildpack]:
374376

375377
* `docker://example/buildpack`
376378
* `docker:///example/buildpack:latest`

0 commit comments

Comments
 (0)