1012e1
.TH MVN "1" "April 2015" "Apache Maven 3.3.1" "User Commands"
1012e1
.SH NAME
1012e1
mvn \- software project management and comprehension tool
1012e1
.SH DESCRIPTION
1012e1
usage: mvn [options] [<goal(s)>] [<phase(s)>]
1012e1
usage: mvnDebug [options] [<goal(s)>] [<phase(s)>]
1012e1
.SH OPTIONS
1012e1
.TP
1012e1
\fB\-am\fR,\-\-also\-make
1012e1
If project list is specified, also
1012e1
build projects required by the
1012e1
list
1012e1
.TP
1012e1
\fB\-amd\fR,\-\-also\-make\-dependents
1012e1
If project list is specified, also
1012e1
build projects that depend on
1012e1
projects on the list
1012e1
.TP
1012e1
\fB\-B\fR,\-\-batch\-mode
1012e1
Run in non\-interactive (batch)
1012e1
mode
1012e1
.TP
1012e1
\fB\-b\fR,\-\-builder <arg>
1012e1
The id of the build strategy to
1012e1
use.
1012e1
.TP
1012e1
\fB\-C\fR,\-\-strict\-checksums
1012e1
Fail the build if checksums don't
1012e1
match
1012e1
.TP
1012e1
\fB\-c\fR,\-\-lax\-checksums
1012e1
Warn if checksums don't match
1012e1
.TP
1012e1
\fB\-cpu\fR,\-\-check\-plugin\-updates
1012e1
Ineffective, only kept for
1012e1
backward compatibility
1012e1
.TP
1012e1
\fB\-D\fR,\-\-define <arg>
1012e1
Define a system property
1012e1
.TP
1012e1
\fB\-e\fR,\-\-errors
1012e1
Produce execution error messages
1012e1
.TP
1012e1
\fB\-emp\fR,\-\-encrypt\-master\-password <arg>
1012e1
Encrypt master security password
1012e1
.TP
1012e1
\fB\-ep\fR,\-\-encrypt\-password <arg>
1012e1
Encrypt server password
1012e1
.TP
1012e1
\fB\-f\fR,\-\-file <arg>
1012e1
Force the use of an alternate POM
1012e1
file (or directory with pom.xml).
1012e1
.TP
1012e1
\fB\-fae\fR,\-\-fail\-at\-end
1012e1
Only fail the build afterwards;
1012e1
allow all non\-impacted builds to
1012e1
continue
1012e1
.TP
1012e1
\fB\-ff\fR,\-\-fail\-fast
1012e1
Stop at first failure in
1012e1
reactorized builds
1012e1
.TP
1012e1
\fB\-fn\fR,\-\-fail\-never
1012e1
NEVER fail the build, regardless
1012e1
of project result
1012e1
.TP
1012e1
\fB\-gs\fR,\-\-global\-settings <arg>
1012e1
Alternate path for the global
1012e1
settings file
1012e1
.TP
1012e1
\fB\-gt\fR,\-\-global\-toolchains <arg>
1012e1
Alternate path for the global
1012e1
toolchains file
1012e1
.TP
1012e1
\fB\-h\fR,\-\-help
1012e1
Display help information
1012e1
.TP
1012e1
\fB\-l\fR,\-\-log\-file <arg>
1012e1
Log file to where all build output
1012e1
will go.
1012e1
.TP
1012e1
\fB\-llr\fR,\-\-legacy\-local\-repository
1012e1
Use Maven 2 Legacy Local
1012e1
Repository behaviour, ie no use of
1012e1
_remote.repositories. Can also be
1012e1
activated by using
1012e1
\fB\-Dmaven\fR.legacyLocalRepo=true
1012e1
.TP
1012e1
\fB\-N\fR,\-\-non\-recursive
1012e1
Do not recurse into sub\-projects
1012e1
.TP
1012e1
\fB\-npr\fR,\-\-no\-plugin\-registry
1012e1
Ineffective, only kept for
1012e1
backward compatibility
1012e1
.TP
1012e1
\fB\-npu\fR,\-\-no\-plugin\-updates
1012e1
Ineffective, only kept for
1012e1
backward compatibility
1012e1
.TP
1012e1
\fB\-nsu\fR,\-\-no\-snapshot\-updates
1012e1
Suppress SNAPSHOT updates
1012e1
.TP
1012e1
\fB\-o\fR,\-\-offline
1012e1
Work offline
1012e1
.TP
1012e1
\fB\-P\fR,\-\-activate\-profiles <arg>
1012e1
Comma\-delimited list of profiles
1012e1
to activate
1012e1
.TP
1012e1
\fB\-pl\fR,\-\-projects <arg>
1012e1
Comma\-delimited list of specified
1012e1
reactor projects to build instead
1012e1
of all projects. A project can be
1012e1
specified by [groupId]:artifactId
1012e1
or by its relative path.
1012e1
.TP
1012e1
\fB\-q\fR,\-\-quiet
1012e1
Quiet output \- only show errors
1012e1
.TP
1012e1
\fB\-rf\fR,\-\-resume\-from <arg>
1012e1
Resume reactor from specified
1012e1
project
1012e1
.TP
1012e1
\fB\-s\fR,\-\-settings <arg>
1012e1
Alternate path for the user
1012e1
settings file
1012e1
.TP
1012e1
\fB\-T\fR,\-\-threads <arg>
1012e1
Thread count, for instance 2.0C
1012e1
where C is core multiplied
1012e1
.TP
1012e1
\fB\-t\fR,\-\-toolchains <arg>
1012e1
Alternate path for the user
1012e1
toolchains file
1012e1
.TP
1012e1
\fB\-U\fR,\-\-update\-snapshots
1012e1
Forces a check for missing
1012e1
releases and updated snapshots on
1012e1
remote repositories
1012e1
.TP
1012e1
\fB\-up\fR,\-\-update\-plugins
1012e1
Ineffective, only kept for
1012e1
backward compatibility
1012e1
.TP
1012e1
\fB\-V\fR,\-\-show\-version
1012e1
Display version information
1012e1
WITHOUT stopping build
1012e1
.TP
1012e1
\fB\-v\fR,\-\-version
1012e1
Display version information
1012e1
.TP
1012e1
\fB\-X\fR,\-\-debug
1012e1
Produce execution debug output