tldr/pages/common/cs-resolve.md

29 lines
1.2 KiB
Markdown
Raw Normal View History

coursier: add new documentation pages (#9728) * coursier: add new documentation pages * fixing ci errors * fixing ci errors * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * fix other typo * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * fix error Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2023-01-09 16:38:15 +00:00
# cs resolve
> Resolve lists the transitive dependencies of other dependencies.
coursier: add new documentation pages (#9728) * coursier: add new documentation pages * fixing ci errors * fixing ci errors * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * fix other typo * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * fix error Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2023-01-09 16:38:15 +00:00
> More information: <https://get-coursier.io/docs/cli-resolve>.
- Resolve lists of transitive dependencies of two dependencies:
`cs resolve {{group_id1}}:{{artifact_id1}}:{{artifact_version1}} {{group_id2}}:{{artifact_id2}}:{{artifact_version2}}`
- Resolve lists of transitive dependencies of a package by the dependency tree:
`cs resolve --tree {{group_id}}:{{artifact_id}}:{{artifact_version}}`
- Resolve dependency tree in a reverse order (from a dependency to its dependencies):
`cs resolve --reverse-tree {{group_id}}:{{artifact_id}}:{{artifact_version}`
- Print all the libraries that depends on a specific library:
`cs resolve {{group_id}}:{{artifact_id}}:{{artifact_version}} --what-depends-on {{searched_group_id}}:{{searched_artifact_id}}`
- Print all the libraries that depends on a specific library version:
`cs resolve {{group_id}}:{{artifact_id}}:{{artifact_version}} --what-depends-on {{searched_group_id}}:{{searched_artifact_id}}{{searched_artifact_version}}`
- Print eventual conflicts between a set of packages:
`cs resolve --conflicts {{group_id1:artifact_id1:artifact_version1 group_id2:artifact_id2:artifact_version2 ...}}`