1MVN(1) User Commands MVN(1)
2
3
4
6 mvn - software project management and comprehension tool
7
9 usage: mvn [options] [<goal(s)>] [<phase(s)>]
10
12 -am,--also-make
13 If project list is specified, also build projects required by
14 the list
15
16 -amd,--also-make-dependents
17 If project list is specified, also build projects that depend on
18 projects on the list
19
20 -B,--batch-mode
21 Run in non-interactive (batch) mode
22
23 -C,--strict-checksums
24 Fail the build if checksums don't match
25
26 -c,--lax-checksums
27 Warn if checksums don't match
28
29 -cpu,--check-plugin-updates
30 Ineffective, only kept for backward compatibility
31
32 -D,--define <arg>
33 Define a system property
34
35 -e,--errors
36 Produce execution error messages
37
38 -emp,--encrypt-master-password <arg>
39 Encrypt master security password
40
41 -ep,--encrypt-password <arg>
42 Encrypt server password
43
44 -f,--file <arg>
45 Force the use of an alternate POM file.
46
47 -fae,--fail-at-end
48 Only fail the build afterwards; allow all non-impacted builds to
49 continue
50
51 -ff,--fail-fast
52 Stop at first failure in reactorized builds
53
54 -fn,--fail-never
55 NEVER fail the build, regardless of project result
56
57 -gs,--global-settings <arg>
58 Alternate path for the global settings file
59
60 -h,--help
61 Display help information
62
63 -l,--log-file <arg>
64 Log file to where all build output will go.
65
66 -N,--non-recursive
67 Do not recurse into sub-projects
68
69 -npr,--no-plugin-registry
70 Ineffective, only kept for backward compatibility
71
72 -npu,--no-plugin-updates
73 Ineffective, only kept for backward compatibility
74
75 -nsu,--no-snapshot-updates
76 Suppress SNAPSHOT updates
77
78 -o,--offline
79 Work offline
80
81 -P,--activate-profiles <arg>
82 Comma-delimited list of profiles to activate
83
84 -pl,--projects <arg>
85 Comma-delimited list of specified reactor projects to build
86 instead of all projects. A project can be specified by
87 [groupId]:artifactId or by its relative path.
88
89 -q,--quiet
90 Quiet output - only show errors
91
92 -rf,--resume-from <arg>
93 Resume reactor from specified project
94
95 -s,--settings <arg>
96 Alternate path for the user settings file
97
98 -T,--threads <arg>
99 Thread count, for instance 2.0C where C is core multiplied
100
101 -t,--toolchains <arg>
102 Alternate path for the user toolchains file
103
104 -U,--update-snapshots
105 Forces a check for updated releases and snapshots on remote
106 repositories
107
108 -up,--update-plugins
109 Ineffective, only kept for backward compatibility
110
111 -V,--show-version
112 Display version information WITHOUT stopping build
113
114 -v,--version
115 Display version information
116
117 -X,--debug
118 Produce execution debug output
119
120
121
122Apache Maven 3.0.4 July 2012 MVN(1)