From 5dc649180735c07e64d79b35a1caa554b48eb203 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 24 Dec 2019 10:59:36 +0100 Subject: [PATCH] Clarify documentation of repackage mojo's attach property Closes gh-19021 --- .../java/org/springframework/boot/maven/RepackageMojo.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java index 31e99fcb91a..9d95a247d4c 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java @@ -119,7 +119,12 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { private String classifier; /** - * Attach the repackaged archive to be installed and deployed. + * Attach the repackaged archive to be installed into your local Maven repository or + * deployed to a remote repository. If no classifier has been configured, it will + * replace the normal jar. If a {@code classifier} has been configured such that the + * normal jar and the repackaged jar are different, it will be attached alongside the + * normal jar. When the property is set to {@code false}, the repackaged archive will + * not be installed or deployed. * @since 1.4.0 */ @Parameter(defaultValue = "true")