cs-resolve
Maven and Ivy dependency resolver
TLDR
SYNOPSIS
cs resolve [options] coordinates...
DESCRIPTION
cs resolve performs Maven/Ivy dependency resolution, showing all transitive dependencies for given artifacts. It's useful for understanding dependency trees, finding version conflicts, and debugging classpath issues.
The command resolves but doesn't download artifacts, making it fast for exploring dependencies. Tree view shows the dependency hierarchy, while flat view lists all resolved artifacts with their versions.
Conflict detection helps identify situations where different versions of the same library are requested. The reverse dependency feature helps understand why a particular library is included.
PARAMETERS
COORDINATES
Maven coordinates to resolve (can specify multiple).-t, --tree
Display dependency tree instead of flat list.-r URL, --repository URL
Add a custom Maven repository.--exclude PATTERN
Exclude artifacts matching pattern (groupId:artifactId).--conflicts
Show version conflicts in dependencies.--json
Output resolution result as JSON.--reverse
Show reverse dependencies (what depends on what).--what-depends-on COORDS
Show what depends on specific artifact.-q, --quiet
Suppress progress output.
CAVEATS
Resolution accuracy depends on POM/ivy.xml completeness. Some artifacts have optional dependencies that may be missed. Cross-version artifacts (Scala) require appropriate notation (::). Network required for repository metadata.
HISTORY
cs resolve is part of Coursier's dependency management capabilities. Resolution is the core operation that powers both launching applications and fetching artifacts, extracted as a standalone command for analysis and debugging.

