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:
Bruno Borges
2026-06-29 12:15:06 -04:00
committed by GitHub
parent dd74672f3d
commit bd03a4bb2d
+4
View File
@@ -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`