jvm-generate-lockfiles

./pants jvm-generate-lockfiles [args]

Generate lockfiles for JVM tools third-party dependencies.

Config section: [jvm-generate-lockfiles]

Basic options

resolve

--jvm-generate-lockfiles-resolve="['<str>', '<str>', ...]"
PANTS_JVM_GENERATE_LOCKFILES_RESOLVE
default: []

Only generate lockfiles for the specified resolve(s).

Resolves are the logical names for tool lockfiles which are the options scope for that tool such as junit.

For example, you can run ./pants jvm-generate-lockfiles --resolve=junit to only generate lockfiles for the junit` tool.

If you specify an invalid resolve name, like 'fake', Pants will output all possible values.

If not specified, Pants will generate lockfiles for all resolves.


Advanced options

None

Deprecated options

None

Related subsystems

coursier, pex, python, python-bootstrap


Did this page help you?