mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
mvn-dependency: add example (#22733)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Lena Pastwa <lena@lnps.me>
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
> Provides goals for viewing, resolving, and copying project dependencies.
|
||||
> More information: <https://maven.apache.org/plugins/maven-dependency-plugin/usage.html>.
|
||||
|
||||
- Add a dependency:
|
||||
|
||||
`mvn dependency:add -Dgav={{group_id}}:{{artifact_id}}:{{version}}`
|
||||
|
||||
- Display the full dependency tree, including direct and transitive dependencies:
|
||||
|
||||
`mvn dependency:tree`
|
||||
|
||||
Reference in New Issue
Block a user