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