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