Scroll to navigation

MVN(1) User Commands MVN(1)

NAME

mvn - software project management and comprehension tool

DESCRIPTION

usage: mvn [options] [<goal(s)>] [<phase(s)>] usage: mvnDebug [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
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 to where all build output will go.
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
Thread count, for instance 2.0C where C is core multiplied
Alternate path for the user toolchains file
Forces a check for missing releases and updated snapshots on remote repositories
Ineffective, only kept for backward compatibility
Display version information WITHOUT stopping build
Display version information
Produce execution debug output
April 2015 Apache Maven 3.3.1