Skip to main content
Version: 2.9 (deprecated)

jvm-generate-lockfiles


pants jvm-generate-lockfiles [args]

Generate lockfiles for JVM tools third-party dependencies.

Backend: ``

Config section: [jvm-generate-lockfiles]

Basic options

resolve

--jvm-generate-lockfiles-resolve="['<str>', '<str>', ...]"
PANTS_JVM_GENERATE_LOCKFILES_RESOLVE
pants.toml
[jvm-generate-lockfiles]
resolve = [
'<str>',
'<str>',
...,
]
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