2023-03-31 15:22:32 +00:00
|
|
|
.TH MVN "1" "March 2023" "Apache Maven 3.9.1" "User Commands"
|
2012-07-17 16:31:02 +00:00
|
|
|
.SH NAME
|
|
|
|
mvn \- software project management and comprehension tool
|
|
|
|
.SH DESCRIPTION
|
|
|
|
usage: mvn [options] [<goal(s)>] [<phase(s)>]
|
2015-04-01 06:27:48 +00:00
|
|
|
usage: mvnDebug [options] [<goal(s)>] [<phase(s)>]
|
2012-07-17 16:31:02 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
\fB\-am\fR,\-\-also\-make
|
|
|
|
If project list is specified, also
|
|
|
|
build projects required by the
|
|
|
|
list
|
|
|
|
.TP
|
|
|
|
\fB\-amd\fR,\-\-also\-make\-dependents
|
|
|
|
If project list is specified, also
|
|
|
|
build projects that depend on
|
|
|
|
projects on the list
|
|
|
|
.TP
|
|
|
|
\fB\-B\fR,\-\-batch\-mode
|
|
|
|
Run in non\-interactive (batch)
|
2023-03-31 15:22:32 +00:00
|
|
|
mode (disables output color)
|
2012-07-17 16:31:02 +00:00
|
|
|
.TP
|
2015-04-01 06:27:48 +00:00
|
|
|
\fB\-b\fR,\-\-builder <arg>
|
|
|
|
The id of the build strategy to
|
|
|
|
use.
|
|
|
|
.TP
|
2012-07-17 16:31:02 +00:00
|
|
|
\fB\-C\fR,\-\-strict\-checksums
|
|
|
|
Fail the build if checksums don't
|
|
|
|
match
|
|
|
|
.TP
|
|
|
|
\fB\-c\fR,\-\-lax\-checksums
|
|
|
|
Warn if checksums don't match
|
|
|
|
.TP
|
2023-03-31 15:22:32 +00:00
|
|
|
\fB\-\-color
|
|
|
|
Defines the color mode of the
|
|
|
|
output. Supported are \'auto\',
|
|
|
|
\'always\', \'never\'.
|
|
|
|
.TP
|
2012-07-17 16:31:02 +00:00
|
|
|
\fB\-cpu\fR,\-\-check\-plugin\-updates
|
|
|
|
Ineffective, only kept for
|
|
|
|
backward compatibility
|
|
|
|
.TP
|
|
|
|
\fB\-D\fR,\-\-define <arg>
|
2023-03-31 15:22:32 +00:00
|
|
|
Define a user property
|
2012-07-17 16:31:02 +00:00
|
|
|
.TP
|
|
|
|
\fB\-e\fR,\-\-errors
|
|
|
|
Produce execution error messages
|
|
|
|
.TP
|
|
|
|
\fB\-emp\fR,\-\-encrypt\-master\-password <arg>
|
|
|
|
Encrypt master security password
|
|
|
|
.TP
|
|
|
|
\fB\-ep\fR,\-\-encrypt\-password <arg>
|
|
|
|
Encrypt server password
|
|
|
|
.TP
|
|
|
|
\fB\-f\fR,\-\-file <arg>
|
|
|
|
Force the use of an alternate POM
|
2023-03-31 15:22:32 +00:00
|
|
|
file (or directory with pom.xml)
|
2012-07-17 16:31:02 +00:00
|
|
|
.TP
|
|
|
|
\fB\-fae\fR,\-\-fail\-at\-end
|
|
|
|
Only fail the build afterwards;
|
|
|
|
allow all non\-impacted builds to
|
|
|
|
continue
|
|
|
|
.TP
|
|
|
|
\fB\-ff\fR,\-\-fail\-fast
|
|
|
|
Stop at first failure in
|
|
|
|
reactorized builds
|
|
|
|
.TP
|
|
|
|
\fB\-fn\fR,\-\-fail\-never
|
|
|
|
NEVER fail the build, regardless
|
|
|
|
of project result
|
|
|
|
.TP
|
|
|
|
\fB\-gs\fR,\-\-global\-settings <arg>
|
|
|
|
Alternate path for the global
|
|
|
|
settings file
|
|
|
|
.TP
|
2015-04-01 06:27:48 +00:00
|
|
|
\fB\-gt\fR,\-\-global\-toolchains <arg>
|
|
|
|
Alternate path for the global
|
|
|
|
toolchains file
|
|
|
|
.TP
|
2012-07-17 16:31:02 +00:00
|
|
|
\fB\-h\fR,\-\-help
|
|
|
|
Display help information
|
|
|
|
.TP
|
|
|
|
\fB\-l\fR,\-\-log\-file <arg>
|
2023-03-31 15:22:32 +00:00
|
|
|
Log file where all build output
|
|
|
|
will go (disables output color)
|
2012-07-17 16:31:02 +00:00
|
|
|
.TP
|
2015-04-01 06:27:48 +00:00
|
|
|
\fB\-llr\fR,\-\-legacy\-local\-repository
|
2023-03-31 15:22:32 +00:00
|
|
|
UNSUPPORTED: Use of this option
|
|
|
|
will make Maven invocation fail.
|
2015-04-01 06:27:48 +00:00
|
|
|
.TP
|
2012-07-17 16:31:02 +00:00
|
|
|
\fB\-N\fR,\-\-non\-recursive
|
|
|
|
Do not recurse into sub\-projects
|
|
|
|
.TP
|
|
|
|
\fB\-npr\fR,\-\-no\-plugin\-registry
|
|
|
|
Ineffective, only kept for
|
|
|
|
backward compatibility
|
|
|
|
.TP
|
|
|
|
\fB\-npu\fR,\-\-no\-plugin\-updates
|
|
|
|
Ineffective, only kept for
|
|
|
|
backward compatibility
|
|
|
|
.TP
|
|
|
|
\fB\-nsu\fR,\-\-no\-snapshot\-updates
|
|
|
|
Suppress SNAPSHOT updates
|
|
|
|
.TP
|
2023-03-31 15:22:32 +00:00
|
|
|
\fB\-ntp\fR,\-\-no\-transfer\-progress
|
|
|
|
Do not display transfer progress
|
|
|
|
when downloading or uploading
|
|
|
|
.TP
|
2012-07-17 16:31:02 +00:00
|
|
|
\fB\-o\fR,\-\-offline
|
|
|
|
Work offline
|
|
|
|
.TP
|
|
|
|
\fB\-P\fR,\-\-activate\-profiles <arg>
|
|
|
|
Comma\-delimited list of profiles
|
|
|
|
to activate
|
|
|
|
.TP
|
|
|
|
\fB\-pl\fR,\-\-projects <arg>
|
|
|
|
Comma\-delimited list of specified
|
|
|
|
reactor projects to build instead
|
|
|
|
of all projects. A project can be
|
|
|
|
specified by [groupId]:artifactId
|
2023-03-31 15:22:32 +00:00
|
|
|
or by its relative path
|
2012-07-17 16:31:02 +00:00
|
|
|
.TP
|
|
|
|
\fB\-q\fR,\-\-quiet
|
|
|
|
Quiet output \- only show errors
|
|
|
|
.TP
|
|
|
|
\fB\-rf\fR,\-\-resume\-from <arg>
|
|
|
|
Resume reactor from specified
|
|
|
|
project
|
|
|
|
.TP
|
|
|
|
\fB\-s\fR,\-\-settings <arg>
|
|
|
|
Alternate path for the user
|
|
|
|
settings file
|
|
|
|
.TP
|
|
|
|
\fB\-t\fR,\-\-toolchains <arg>
|
|
|
|
Alternate path for the user
|
|
|
|
toolchains file
|
|
|
|
.TP
|
2023-03-31 15:22:32 +00:00
|
|
|
\fB\-T\fR,\-\-threads <arg>
|
|
|
|
Thread count, for instance 4 (int)
|
|
|
|
or 2C/2.5C (int/float) where C is
|
|
|
|
core multiplied
|
|
|
|
.TP
|
2012-07-17 16:31:02 +00:00
|
|
|
\fB\-U\fR,\-\-update\-snapshots
|
2015-04-01 06:27:48 +00:00
|
|
|
Forces a check for missing
|
|
|
|
releases and updated snapshots on
|
|
|
|
remote repositories
|
2012-07-17 16:31:02 +00:00
|
|
|
.TP
|
|
|
|
\fB\-up\fR,\-\-update\-plugins
|
|
|
|
Ineffective, only kept for
|
|
|
|
backward compatibility
|
|
|
|
.TP
|
2023-03-31 15:22:32 +00:00
|
|
|
\fB\-v\fR,\-\-version
|
2012-07-17 16:31:02 +00:00
|
|
|
Display version information
|
|
|
|
.TP
|
2023-03-31 15:22:32 +00:00
|
|
|
\fB\-V\fR,\-\-show\-version
|
2012-07-17 16:31:02 +00:00
|
|
|
Display version information
|
2023-03-31 15:22:32 +00:00
|
|
|
WITHOUT stopping build
|
2012-07-17 16:31:02 +00:00
|
|
|
.TP
|
|
|
|
\fB\-X\fR,\-\-debug
|
|
|
|
Produce execution debug output
|