Skip to content

Commit 5dc6491

Browse files
committed
Clarify documentation of repackage mojo's attach property
Closes gh-19021
1 parent 2db2dae commit 5dc6491

File tree

1 file changed

+6
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven

1 file changed

+6
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,12 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
119119
private String classifier;
120120

121121
/**
122-
* Attach the repackaged archive to be installed and deployed.
122+
* Attach the repackaged archive to be installed into your local Maven repository or
123+
* deployed to a remote repository. If no classifier has been configured, it will
124+
* replace the normal jar. If a {@code classifier} has been configured such that the
125+
* normal jar and the repackaged jar are different, it will be attached alongside the
126+
* normal jar. When the property is set to {@code false}, the repackaged archive will
127+
* not be installed or deployed.
123128
* @since 1.4.0
124129
*/
125130
@Parameter(defaultValue = "true")

0 commit comments

Comments
 (0)