1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 09:50:08 +00:00

Reword and fix formatting of mvn plugin README

This commit is contained in:
Marc Cornellà 2016-05-12 13:41:29 +02:00
parent 863675f3d4
commit 30870d87dd

View file

@ -1,28 +1,32 @@
## The mvn Plugin ## Introduction
The [mvn](https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/mvn) plugin provides many [aliases](#Aliases). 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.
Enable it by adding _mvn_ to the [_plugins array_](https://github.com/robbyrussell/oh-my-zsh/blob/master/templates/zshrc.zsh-template#L48) before sourcing OMZ (see [Plugins](https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins)). Enable it by adding `mvn` to the plugins array in your zshrc file:
```zsh
plugins=(... mvn)
```
## Aliases ## Aliases
| Alias | Command | | Alias | Command |
|:---------------------|:------------------------------------------------------------------------------------------------------------------------------------------| |:---------------------|:------------------------------------------------|
|mvncie|mvn clean install eclipse:eclipse| | `mvncie` | `mvn clean install eclipse:eclipse` |
|mvnci|mvn clean install| | `mvnci` | `mvn clean install` |
|mvncist|mvn clean install -DskipTests| | `mvncist` | `mvn clean install -DskipTests` |
|mvne|mvn eclipse:eclipse| | `mvne` | `mvn eclipse:eclipse` |
|mvnd|mvn deploy| | `mvnd` | `mvn deploy` |
|mvnp|mvn package| | `mvnp` | `mvn package` |
|mvnc|mvn clean| | `mvnc` | `mvn clean` |
|mvncom|mvn compile| | `mvncom` | `mvn compile` |
|mvnct|mvn clean test| | `mvnct` | `mvn clean test` |
|mvnt|mvn test| | `mvnt` | `mvn test` |
|mvnag|mvn archetype:generate| | `mvnag` | `mvn archetype:generate` |
|mvn-updates|mvn versions:display-dependency-updates| | `mvn-updates` | `mvn versions:display-dependency-updates` |
|mvntc7|mvn tomcat7:run| | `mvntc7` | `mvn tomcat7:run` |
|mvnjetty|mvn jetty:run| | `mvnjetty` | `mvn jetty:run` |
|mvndt|mvn dependency:tree| | `mvndt` | `mvn dependency:tree` |
|mvns|mvn site| | `mvns` | `mvn site` |
|mvnsrc|mvn dependency:sources| | `mvnsrc` | `mvn dependency:sources` |
|mvndocs|mvn dependency:resolve -Dclassifier=javadoc| | `mvndocs` | `mvn dependency:resolve -Dclassifier=javadoc` |