Scroll to navigation

MAVEN(1) User Commands MAVEN(1)

NAME

mvn - Apache Maven software project management and comprehension tool

DESCRIPTION

usage: mvn [options] [<goal(s)>] [<phase(s)>]

OPTIONS

If project list is specified, also build projects required by the list
If project list is specified, also build projects that depend on projects on the list
Run in non-interactive (batch) mode (disables output color)
The id of the build strategy to use
Fail the build if checksums don't match
Warn if checksums don't match
Ineffective, only kept for backward compatibility
Define a system property
Produce execution error messages
Encrypt master security password
Encrypt server password
Force the use of an alternate POM file (or directory with pom.xml)
Only fail the build afterwards; allow all non-impacted builds to continue
Stop at first failure in reactorized builds
NEVER fail the build, regardless of project result
Alternate path for the global settings file
Alternate path for the global toolchains file
Display help information
Log file where all build output will go (disables output color)
Use Maven 2 Legacy Local Repository behaviour, ie no use of _remote.repositories. Can also be activated by using -Dmaven.legacyLocalRepo=true
Do not recurse into sub-projects
Ineffective, only kept for backward compatibility
Ineffective, only kept for backward compatibility
Suppress SNAPSHOT updates
Work offline
Comma-delimited list of profiles to activate
Comma-delimited list of specified reactor projects to build instead of all projects. A project can be specified by [groupId]:artifactId or by its relative path
Quiet output - only show errors
Resume reactor from specified project
Alternate path for the user settings file
Alternate path for the user toolchains file
Thread count, for instance 2.0C where C is core multiplied
Forces a check for missing releases and updated snapshots on remote repositories
Ineffective, only kept for backward compatibility
Display version information
Display version information WITHOUT stopping build
Produce execution debug output
May 2017 Apache Maven 3.5.0