changeset 2506:04649fd8a394

mvn dependency:get
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Fri, 16 Apr 2021 00:11:21 +0300
parents 5262c08480dc
children 8e8c8adde585
files maven.rst
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/maven.rst	Sat Mar 20 22:15:32 2021 +0200
+++ b/maven.rst	Fri Apr 16 00:11:21 2021 +0300
@@ -112,9 +112,11 @@
 
   $ mvn dependency:get
 
-or download specific dependency::
+or download a specific dependency::
 
   $ mvn dependency:get -Dartifact=$groupId:$artifactId:$version
+  $ mvn dependency:get -DgroupId=$groupId -DartifactId=artifactId -Dversion=$version
+  $ mvn dependency:get -DgroupId=$groupId -DartifactId=artifactId -Dversion=$version -DremoteRepositories=$repoUrl
 
 Reason for inclusion or omitting dependencies::