From 863675f3d404e345693e8abd77f6136e171d7ed5 Mon Sep 17 00:00:00 2001 From: Vimal Raj Date: Sun, 10 Jan 2016 23:56:50 +0530 Subject: [PATCH 1/2] Add README file for mvn plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc Cornellà --- plugins/mvn/README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 plugins/mvn/README.md diff --git a/plugins/mvn/README.md b/plugins/mvn/README.md new file mode 100644 index 000000000..d521064ca --- /dev/null +++ b/plugins/mvn/README.md @@ -0,0 +1,28 @@ +## The mvn Plugin + +The [mvn](https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/mvn) plugin provides many [aliases](#Aliases). + +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)). + +## Aliases + +| Alias | Command | +|:---------------------|:------------------------------------------------------------------------------------------------------------------------------------------| +|mvncie|mvn clean install eclipse:eclipse| +|mvnci|mvn clean install| +|mvncist|mvn clean install -DskipTests| +|mvne|mvn eclipse:eclipse| +|mvnd|mvn deploy| +|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| From 30870d87ddc23b633fb99a6542768835c2a66551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Thu, 12 May 2016 13:41:29 +0200 Subject: [PATCH 2/2] Reword and fix formatting of mvn plugin README --- plugins/mvn/README.md | 50 +++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/plugins/mvn/README.md b/plugins/mvn/README.md index d521064ca..79192bb54 100644 --- a/plugins/mvn/README.md +++ b/plugins/mvn/README.md @@ -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 -| Alias | Command | -|:---------------------|:------------------------------------------------------------------------------------------------------------------------------------------| -|mvncie|mvn clean install eclipse:eclipse| -|mvnci|mvn clean install| -|mvncist|mvn clean install -DskipTests| -|mvne|mvn eclipse:eclipse| -|mvnd|mvn deploy| -|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| +| Alias | Command | +|:---------------------|:------------------------------------------------| +| `mvncie` | `mvn clean install eclipse:eclipse` | +| `mvnci` | `mvn clean install` | +| `mvncist` | `mvn clean install -DskipTests` | +| `mvne` | `mvn eclipse:eclipse` | +| `mvnd` | `mvn deploy` | +| `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` |