Skip to content

Command Reference

Danny Thomas edited this page Sep 17, 2026 · 1 revision

Command reference

jig [options]
jig maven install <artifact-directory>
jig maven deploy --repository <id=uri|path> [--sign] <artifact-directory>
jig maven deploy-central [--name <name>] [--manual] <artifact-directory>
jig maven serve [--listen <host:port>]

Resolution accepts the familiar JDK options --module-path, --module-source-path, and --module. Use --add-modules to add unversioned roots satisfied by the module graph, or --add-requires <module>@<version> to supply a version explicitly.

With no resolve or generation operation requested, the selected module graph is resolved and validated.

Use -r, --resolve-options to write standard JDK options to standard output, or add -w, --write-argfile to write them to a Java argument file. Other operations generate module POMs, manage module hashes, select platform artifacts, and look up module names and versions.

Source-module outputs unused for seven days are removed automatically when that module is next compiled.

Use --help for the complete option reference.

Clone this wiki locally