README.md 1.97 KB
Newer Older
1
## Introduction
Vimal Raj's avatar
Vimal Raj committed
2

3
4
The [mvn plugin](https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/mvn) provides many
[useful aliases](#aliases) as well as completion for the `mvn` command.
Vimal Raj's avatar
Vimal Raj committed
5

6
7
8
9
Enable it by adding `mvn` to the plugins array in your zshrc file:
```zsh
plugins=(... mvn)
```
Vimal Raj's avatar
Vimal Raj committed
10
11
12

## Aliases

13
14
15
16
17
| Alias                | Command                                         |
|:---------------------|:------------------------------------------------|
| `mvncie`             | `mvn clean install eclipse:eclipse`             |
| `mvnci`              | `mvn clean install`                             |
| `mvncist`            | `mvn clean install -DskipTests`                 |
18
| `mvncisto`           | `mvn clean install -DskipTests --offline`       |
19
| `mvne`               | `mvn eclipse:eclipse`                           |
20
| `mvncv`              | `mvn clean verify`                              |
21
| `mvnd`               | `mvn deploy`                                    |
22
| `mvncd`              | `mvn clean deploy`                              |
23
24
25
26
27
28
29
30
31
32
33
34
35
| `mvnp`               | `mvn package`                                   |
| `mvnc`               | `mvn clean`                                     |
| `mvncom`             | `mvn compile`                                   |
| `mvnct`              | `mvn clean test`                                |
| `mvnt`               | `mvn test`                                      |
| `mvnag`              | `mvn archetype:generate`                        |
| `mvn-updates`        | `mvn versions:display-dependency-updates`       |
| `mvntc7`             | `mvn tomcat7:run`                               |
| `mvnjetty`           | `mvn jetty:run`                                 |
| `mvndt`              | `mvn dependency:tree`                           |
| `mvns`               | `mvn site`                                      |
| `mvnsrc`             | `mvn dependency:sources`                        |
| `mvndocs`            | `mvn dependency:resolve -Dclassifier=javadoc`   |