You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2023/06/19 19:21:25 UTC
[maven-dependency-plugin] 01/01: Tighten language
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch broken
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
commit 8b8ece217c6cfc8937f51c58950b0f75c46758e6
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Jun 19 15:21:13 2023 -0400
Tighten language
---
src/site/apt/usage.apt.vm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/site/apt/usage.apt.vm b/src/site/apt/usage.apt.vm
index a67381c7..6a8db0cf 100644
--- a/src/site/apt/usage.apt.vm
+++ b/src/site/apt/usage.apt.vm
@@ -333,7 +333,7 @@ mvn dependency:unpack
Also included is the ability to include or exclude by type (war, jar etc), scope (runtime, test, etc), classifier (jdk14, sources, etc), groupId, artifactId, or a combination of them.
- <<Note:>> As of 2.0-alpha-5, you may mix includes and excludes of the same category (ie scope). Includes are processed before excludes.
+ <<Note:>> You can mix includes and excludes of the same category (i.e. scope). Includes are processed before excludes.
See the {{{#Overwrite_Rules}Overwrite Rules}} section for rules about how overwriting is handled.
@@ -643,7 +643,7 @@ java -cp `cat resultFile` MyClass
mvn dependency:build-classpath
+---+
- or to write the classpath to cp.txt.:
+ or to write the classpath to cp.txt:
+---+
mvn dependency:build-classpath -Dmdep.outputFile=cp.txt
@@ -682,13 +682,13 @@ mvn dependency:build-classpath -Dmdep.outputFile=cp.txt
* <<<dependency:list-repositories>>>
- This goal is used to list all the repositories that this build depends upon. It will show repositories defined in your settings,
- poms and declared in transitive dependency poms.
+ This goal lists all the repositories that this build depends upon. It shows repositories defined in your settings,
+ poms, and declared in transitive dependency poms.
* <<<dependency:get>>>
- This goal is used to fetch an artifact and (optionally) its dependencies from remote repositories using its Maven coordinates.
+ This goal fetches an artifact and (optionally) its dependencies from remote repositories using its Maven coordinates.
+-----+
mvn dependency:get -DgroupId=org.apache.maven -DartifactId=maven-core -Dversion=2.2.1 -Dpackaging=jar -Dclassifier=sources -DremoteRepositories=central::default::https://repo.maven.apache.org/maven2,myrepo::::http://myrepo.com/maven2