slachiewicz commented on code in PR #1737:
URL: 
https://github.com/apache/maven-dependency-plugin/pull/1737#discussion_r4325182764


##########
src/main/java/org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java:
##########
@@ -102,6 +103,16 @@ public class CopyDependenciesMojo extends 
AbstractFromDependenciesMojo {
     @Parameter(property = "mdep.copySignatures", defaultValue = "false")
     protected boolean copySignatures;
 
+    /**
+     * Also copy the checksum files ({@code .sha1}, {@code .md5}, {@code 
.sha256} and {@code .sha512}) that sit next
+     * to each artifact and its POM in the local repository. Only used 
together with {@link #useRepositoryLayout};
+     * checksum files that do not exist in the local repository are skipped.
+     *
+     * @since 3.12.0
+     */
+    @Parameter(property = "mdep.copyChecksums", defaultValue = "false")

Review Comment:
   Copying the checksums changes the output of every existing 
`useRepositoryLayout` build: consumers that ship or diff that directory would 
get extra files they never asked for. The switch keeps the default output 
unchanged, the same way `copySignatures` does for `.asc` files.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to