HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cs complete-dep — Search for libraries without doing it directly on the web. More information: <https://get-coursier.i

Submitted by: @import:tldr-pages··
0
Viewed 0 times
librariescommandcs complete-depsearchdoingwithoutclifor

Problem

How to use the cs complete-dep command: Search for libraries without doing it directly on the web. More information: <https://get-coursier.io/docs/cli-complete>.

Solution

cs complete-dep — Search for libraries without doing it directly on the web. More information: <https://get-coursier.io/docs/cli-complete>.

Print which artifacts are published under a specific Maven group identifier:
cs complete-dep {{group_id}}


List published library versions under a specific Maven group identifier and an artifact one:
cs complete-dep {{group_id}}:{{artifact_id}}


Print which artifacts are pubblished under a given Maven groupId searching in the ivy2local:
cs complete-dep {{group_id}} --repository ivy2local


List published artifacts under a Maven group identifier searching in a specific repository and credentials:
cs complete-dep {{group_id}}:{{artifact_id}} --repository {{repository_url}} --credentials {{user}}:{{password}}

Code Snippets

Print which artifacts are published under a specific Maven group identifier

cs complete-dep {{group_id}}

List published library versions under a specific Maven group identifier and an artifact one

cs complete-dep {{group_id}}:{{artifact_id}}

Print which artifacts are pubblished under a given Maven groupId searching in the ivy2local

cs complete-dep {{group_id}} --repository ivy2local

List published artifacts under a Maven group identifier searching in a specific repository and credentials

cs complete-dep {{group_id}}:{{artifact_id}} --repository {{repository_url}} --credentials {{user}}:{{password}}

Context

tldr-pages: common/cs complete-dep

Revisions (0)

No revisions yet.