CmdID

CmdID / Commands

mvn-dependency

Manage and analyze Maven project dependencies. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Manage and analyze Maven project dependencies. Provides goals for viewing, resolving, and copying project dependencies.

Add a dependency

mvn dependency:add -Dgav=group_id:artifact_id:versionIdentify

Display the full dependency tree, including direct and transitive dependencies

mvn dependency:treeIdentify

Analyze the dependencies and highlight unused or undeclared ones

mvn dependency:analyzeIdentify

Copy all project dependencies (by default, to target/dependency/)

mvn dependency:copy-dependenciesIdentify

Resolve and download all project dependencies to the local Maven repository

mvn dependency:resolveIdentify

Force Maven to update all dependencies from remote repositories

mvn dependency:resolve --update-snapshotsIdentify