$ mvn -hUsage : mvn [options] [<goal(s)>] [<phase(s)>]
| Option | Description |
|---|---|
| -h,--help | Display help information |
| -v,--version | Display version information |
| -V,--show-version | Display version information WITHOUT stopping build |
| -X,--debug | Produce execution debug output |
| Option | Description |
|---|---|
| -emp,--encrypt-master-password <arg> | Encrypt master security password |
| -ep,--encrypt-password <arg> | Encrypt server password |
| Option | Description |
|---|---|
| -T,--threads <arg> | Thread count, for instance 2.0C where C is core multiplied |
| Option | Description |
|---|---|
| -f,--file <arg> | Force the use of an alternate pom.xml file (or directory with pom.xml) |
| -s,--settings <arg> | Alternate path for the user settings file |
| -gs,--global-settings <arg> | Alternate path for the global settings file |
| -gt,--global-toolchains <arg> | Alternate path for the global toolchains file |
| -t,--toolchains <arg> | Alternate path for the user toolchains file |
| -l,--log-file <arg> | Log file where all build output will go (disables output color) |
| Option | Description |
|---|---|
| -q,--quiet | Quiet output - only show errors |
| -o,--offline | Work offline |
| -B,--batch-mode | Run in non-interactive (batch) mode (disables output color) |
| -N,--non-recursive | Do not recurse into sub-projects |
| -nsu,--no-snapshot-updates | Suppress SNAPSHOT updates |
| -ntp,--no-transfer-progress | Do not display transfer progress when downloading or uploading |
| -U,--update-snapshots | Forces a check for missing releases and updated snapshots on remote repositories |
| Option | Description |
|---|---|
| -pl,--projects <arg> | Comma-delimited list of specified reactor projects to build instead of all projects. A project can be specified by [groupId]:artifactId or by its relative path |
| -am,--also-make | If project list is specified, also build projects required by the list |
| -amd,--also-make-dependents | If project list is specified, also build projects that depend on projects on the list |
| -P,--activate-profiles <arg> | Comma-delimited list of profiles to activate |
| -rf,--resume-from <arg> | Resume reactor from specified project |
| Option | Description |
|---|---|
| -fae,--fail-at-end | Only fail the build afterwards; allow all non-impacted builds to continue |
| -ff,--fail-fast | Stop at first failure in reactorized builds |
| -fn,--fail-never | NEVER fail the build, regardless of project result |
| -C,--strict-checksums | Fail the build if checksums don't match |
| -c,--lax-checksums | Warn if checksums don't match |
| Option | Description |
|---|---|
| -b,--builder <arg> | The id of the build strategy to use |
| --color <arg> | Defines the color mode of the output. Supported are 'auto', 'always', 'never'. |
| -D,--define <arg> | Define a system property |
| -e,--errors | Produce execution error messages |