elharo commented on code in PR #1737:
URL:
https://github.com/apache/maven-dependency-plugin/pull/1737#discussion_r4269860819
##########
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:
Why make this a parameter? Why not just do it?
--
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]