diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageForkMojo.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageForkMojo.java index 0fb3a81b2b8f..9ade9bc3774a 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageForkMojo.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageForkMojo.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2022 the original author or authors. + * Copyright 2012-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,10 +22,10 @@ import org.apache.maven.plugins.annotations.ResolutionScope; /** - * {@link BuildImageMojo implementation} that forks the lifecycle to make sure that - * {@code package} ran. This goal is suitable for command-line invocation. If you need to - * configure a mojo {@code execution} in your build, use {@link BuildImageNoForkMojo} - * instead. + * Package an application into an OCI image using a buildpack, forking the lifecycle to + * make sure that {@code package} ran. This goal is suitable for command-line invocation. + * If you need to configure a goal {@code execution} in your build, use + * {@code build-image-no-fork} instead. * * @author Stephane Nicoll * @since 3.0.0 diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageNoForkMojo.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageNoForkMojo.java index 23da7dc722ab..495c52347645 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageNoForkMojo.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageNoForkMojo.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2022 the original author or authors. + * Copyright 2012-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,10 +21,9 @@ import org.apache.maven.plugins.annotations.ResolutionScope; /** - * {@link BuildImageMojo implementation} that does not fork the lifecycle to make sure - * that {@code package} ran. This goal should be used when configuring a mojo - * {@code execution} in your build. To invoke the goal on the command-line, use - * {@link BuildImageForkMojo} instead. + * Package an application into an OCI image using a buildpack, but without forking the + * lifecycle. This goal should be used when configuring a goal {@code execution} in your + * build. To invoke the goal on the command-line, use {@code build-image} instead. * * @author Stephane Nicoll * @since 3.0.0