summaryrefslogtreecommitdiff
path: root/plugins/mvn/README.md
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2019-02-17 20:48:13 +0100
committerMarc Cornellà <marc.cornella@live.com>2019-02-17 20:57:56 +0100
commit0e647904ffdd19c697e1c6ab602f65377cb186fe (patch)
tree62d767c1c645c3d1b98f15a38d2e39962b63144b /plugins/mvn/README.md
parentf4b2e460c77b79f99831cd048eb0004059c96370 (diff)
downloadzsh-0e647904ffdd19c697e1c6ab602f65377cb186fe.tar.gz
zsh-0e647904ffdd19c697e1c6ab602f65377cb186fe.tar.bz2
zsh-0e647904ffdd19c697e1c6ab602f65377cb186fe.zip
mvn: update documentation
Diffstat (limited to 'plugins/mvn/README.md')
-rw-r--r--plugins/mvn/README.md22
1 files changed, 13 insertions, 9 deletions
diff --git a/plugins/mvn/README.md b/plugins/mvn/README.md
index 3f08c56d8..88f5be8ba 100644
--- a/plugins/mvn/README.md
+++ b/plugins/mvn/README.md
@@ -1,7 +1,7 @@
-## Introduction
+# mvn plugin
-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.
+The mvn plugin provides many [useful aliases](#aliases) as well as completion for
+the [Apache Maven](https://maven.apache.org/) command (`mvn`).
Enable it by adding `mvn` to the plugins array in your zshrc file:
```zsh
@@ -10,7 +10,7 @@ plugins=(... mvn)
## Aliases
-The plugin aliases mvn to a either calls `mvnw` ([Maven Wrapper](https://github.com/takari/maven-wrapper))
+The plugin aliases mvn to a function that calls `mvnw` (the [Maven Wrapper](https://github.com/takari/maven-wrapper))
if it's found, or the mvn command otherwise.
| Alias | Command |
@@ -46,9 +46,13 @@ if it's found, or the mvn command otherwise.
## mvn-color
-It's a function that wraps the mvn command to colorize it's output. Since Maven 3.5.0
-the mvn command adds colored output, so this function will be soon removed from the
-plugin.
+It's a function that wraps the mvn command to colorize it's output. You can use it in place
+of the `mvn` command. For example: instead of `mvn test`, use `mvn-color test`.
-It also has a bug where it won't print when mvn prompts for user input, _e.g._ when
-using `archetype:generate`. See [#5052](https://github.com/robbyrussell/oh-my-zsh/issues/5052).
+Since [Maven 3.5.0](https://maven.apache.org/docs/3.5.0/release-notes.html) the mvn command
+has colored output, so this function will be soon removed from the plugin.
+
+### Known bugs
+
+It has a bug where it will swallow mvn prompts for user input, _e.g._ when using
+`archetype:generate`. See [#5052](https://github.com/robbyrussell/oh-my-zsh/issues/5052).