Command line options
-h
--help
Display help information
-P
--activate-profiles <profiles>
Comma-delimited list of profiles to activate
-V
--show-version
Display version information without stopping build
-v
--version
Display version information and terminate the Maven process
-o
--offline
Work offline
-f <file>
--file <file>
Alternate path for POM file
-s <file>
--settings <file>
Alternate path for the user settings file
-gs <file>
--global-settings <file>
Alternate path for the global settings file
-emp
--encrypt-master-password <password>
Encrypt master security password
-ep
--encrypt-password <password>
Encrypt server password
-fae
--fail-at-end
Only fail the build afterwards; allow all non-impacted builds to continue
-ff
--fail-fast
Stop at first failure in reactorised builds
-fn
--fail-never
Never fail the build, regardless of project result
-e
--errors
Produce execution error messages
-X
--debug
Produce execution debug output
-q
--quiet
Quiet output - only show errors
-B
--batch-mode
Run in non-interactive (batch) mode
-C
--strict-checksums
Fail the build if checksums don’t match
-c
--lax-checksums
Warn if checksums don’t match
-U
--update-snapshots
Forces a check for updated releases and snapshots on remote repositories
-N
--non-recursive
Prevents Maven from building submodules. Only builds the project contained in the current directory.
Maven daemon