You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/10/18 17:31:43 UTC
(maven-dependency-plugin) 02/03: [MDEP-446] Document the destFileName form of the artifact parameter
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
commit 05ef8503b11ce493c4d5553a254431acaccf31bf
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Wed Oct 14 00:08:20 2026 +0200
[MDEP-446] Document the destFileName form of the artifact parameter
---
src/site/markdown/usage.md.vm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/site/markdown/usage.md.vm b/src/site/markdown/usage.md.vm
index 662862c5..54016503 100644
--- a/src/site/markdown/usage.md.vm
+++ b/src/site/markdown/usage.md.vm
@@ -125,6 +125,7 @@ _Notes:_
- By default, artifacts are copied into _outputDirectory_ using the Maven artifact file name convention (that is, _artifactId-version-classifier.type_). Use the following rules to override the default convention:
- Use _artifactItem.destFileName_ to override the default file name.
+ - On the command line, give the file name as the sixth token of _artifact_: `mvn dependency:copy -Dartifact=groupId:artifactId:version:jar::name.jar` (the empty fifth token is the classifier). The form is `groupId:artifactId:version[:packaging[:classifier[:destFileName]]]`.
- Use _stripVersion_ to remove _version_ from default file name. This field is ignored when _artifactId.destFileName_ is set.
- Use _artifactItem.outputDirectory_ to override the plugin's _outputDirectory_ configuration per _artifactItem_.