25dddd2db4ac2dfa2d6104c308e171e0937f116f

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Merge branch 'email2vimalraj/readme-for-maven'

Close #4764

Diff

 1diff --git a/plugins/mvn/README.md b/plugins/mvn/README.md
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..79192bb5478485bceee7db5986c5bd5f2e915517
 4--- /dev/null
 5+++ b/plugins/mvn/README.md
 6@@ -0,0 +1,32 @@
 7+## Introduction
 8+
 9+The [mvn plugin](https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/mvn) provides many
10+[useful aliases](#aliases) as well as completion for the `mvn` command.
11+
12+Enable it by adding `mvn` to the plugins array in your zshrc file:
13+```zsh
14+plugins=(... mvn)
15+```
16+
17+## Aliases
18+
19+| Alias                | Command                                         |
20+|:---------------------|:------------------------------------------------|
21+| `mvncie`             | `mvn clean install eclipse:eclipse`             |
22+| `mvnci`              | `mvn clean install`                             |
23+| `mvncist`            | `mvn clean install -DskipTests`                 |
24+| `mvne`               | `mvn eclipse:eclipse`                           |
25+| `mvnd`               | `mvn deploy`                                    |
26+| `mvnp`               | `mvn package`                                   |
27+| `mvnc`               | `mvn clean`                                     |
28+| `mvncom`             | `mvn compile`                                   |
29+| `mvnct`              | `mvn clean test`                                |
30+| `mvnt`               | `mvn test`                                      |
31+| `mvnag`              | `mvn archetype:generate`                        |
32+| `mvn-updates`        | `mvn versions:display-dependency-updates`       |
33+| `mvntc7`             | `mvn tomcat7:run`                               |
34+| `mvnjetty`           | `mvn jetty:run`                                 |
35+| `mvndt`              | `mvn dependency:tree`                           |
36+| `mvns`               | `mvn site`                                      |
37+| `mvnsrc`             | `mvn dependency:sources`                        |
38+| `mvndocs`            | `mvn dependency:resolve -Dclassifier=javadoc`   |