mvn <command...>

Maven - a Java based project management and comprehension tool

Arguments

NameDescription
commandGoal or phase to execute

Options

NameDescription
--also-make,-amAlso build projects required by project list
--also-make-dependents,-amdAlso build projects that depend on projects in the project list
--batch-mode,-BRun in non-interactive (batch)
--builder,-b <command>Specify the build strategy to use
--strict-checksums,-CFail if checksums do not match
--lax-checksums,-cWarn if checksums do not match
--color <command>Specify the color mode of the output
--check-plugin-updates,-cpuIneffective. Only kept for backward compatibility
--define,-D <command>Define a system property
--errors,-eProduce execution error messages
--encrypt-master-password,-emp <command>Encrypt the master security password
--encrypt-password,-ep <command>Encrypt the server password
--file,-f <command>Force the use of an alternate POM file (or directory with pom.xml)
--fail-at-end,-faeOnly fail the build afterwards; allow all non-impacted builds to continue
--fail-fast,-ffStop at first failure in reactorized builds
--fail-never,-fnNever fail the build, regardless of project result
--global-settings,-gs <command>Specify the global settings file to use
--global-toolchains,-gt <command>Specify the global toolchains file to use
--help,-hDisplay help information
--log-file,-l <command>Specify the file to log to
--legacy-local-repository,-llrUse the Maven2 legacy local repository behaviour
--non-recursive,-NDo not recurse into sub-projects
--no-plugin-registry,-nprIneffective. Only kept for backward compatibility
--no-plugin-updates,-npuIneffective. Only kept for backward compatibility
--no-snapshot-updates,-nsuSuppress SNAPSHOT updates
--no-transfer-progress,-ntpDo not display transfer progress when downloading or uploading
--offline,-oWork offline
--activate-profiles,-P <command>Activate the specified profiles (comma delimited)
--projects,-pl <command>Specify the projects to build
--quiet,-qQuiet output - only shows errors
--resume-from,-rf <command>Resume from the specified project
--settings,-s <command>Specify the user settings file to use
--toolchains,-t <command>Specify the toolchains file to use
--threads,-T <command>Specify the number of threads to use
--update-snapshots,-UForces a check for missing releases and updated snapshots on remote repositories
--update-plugins,-upIneffective. Only kept for backward compatibility
--version,-vDisplay version information
--show-version,-VDisplay version information
--debug,-XProduce execution debug output