Skip to content

Commit e84025b

Browse files
ThomasKasenesnicoll
authored andcommitted
Fix description of build-image[-no-fork] Maven plugin goals
See gh-35609
1 parent 72fd94f commit e84025b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Diff for: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageForkMojo.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
import org.apache.maven.plugins.annotations.ResolutionScope;
2323

2424
/**
25-
* {@link BuildImageMojo implementation} that forks the lifecycle to make sure that
26-
* {@code package} ran. This goal is suitable for command-line invocation. If you need to
27-
* configure a mojo {@code execution} in your build, use {@link BuildImageNoForkMojo}
28-
* instead.
25+
* Package an application into an OCI image using a buildpack, forking the lifecycle to
26+
* make sure that {@code package} ran. This goal is suitable for command-line invocation.
27+
* If you need to configure a goal {@code execution} in your build, use
28+
* {@code build-image-no-fork} instead.
2929
*
3030
* @author Stephane Nicoll
3131
* @since 3.0.0

Diff for: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageNoForkMojo.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
import org.apache.maven.plugins.annotations.ResolutionScope;
2222

2323
/**
24-
* {@link BuildImageMojo implementation} that does not fork the lifecycle to make sure
25-
* that {@code package} ran. This goal should be used when configuring a mojo
26-
* {@code execution} in your build. To invoke the goal on the command-line, use
27-
* {@link BuildImageForkMojo} instead.
24+
* Package an application into an OCI image using a buildpack, but without forking the
25+
* lifecycle to make sure that {@code package} ran. This goal should be used when
26+
* configuring a goal {@code execution} in your build. To invoke the goal on the
27+
* command-line, use {@code build-image} instead.
2828
*
2929
* @author Stephane Nicoll
3030
* @since 3.0.0

0 commit comments

Comments
 (0)