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