Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
0e647904
Commit
0e647904
authored
Feb 17, 2019
by
Marc Cornellà
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mvn: update documentation
parent
f4b2e460
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
README.md
plugins/mvn/README.md
+13
-9
No files found.
plugins/mvn/README.md
View file @
0e647904
#
# Introductio
n
#
mvn plugi
n
The
[
mvn plugin
](
https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/mvn
)
provides many
The
mvn plugin provides many
[
useful aliases
](
#aliases
)
as well as completion for
[
useful aliases
](
#aliases
)
as well as completion for the
`mvn`
command
.
the
[
Apache Maven
](
https://maven.apache.org/
)
command (
`mvn`
)
.
Enable it by adding
`mvn`
to the plugins array in your zshrc file:
Enable it by adding
`mvn`
to the plugins array in your zshrc file:
```
zsh
```
zsh
...
@@ -10,7 +10,7 @@ plugins=(... mvn)
...
@@ -10,7 +10,7 @@ plugins=(... mvn)
## Aliases
## 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.
if it's found, or the mvn command otherwise.
| Alias | Command |
| Alias | Command |
...
@@ -46,9 +46,13 @@ if it's found, or the mvn command otherwise.
...
@@ -46,9 +46,13 @@ if it's found, or the mvn command otherwise.
## mvn-color
## mvn-color
It's a function that wraps the mvn command to colorize it's output. Since Maven 3.5.0
It's a function that wraps the mvn command to colorize it's output. You can use it in place
the mvn command adds colored output, so this function will be soon removed from the
of the
`mvn`
command. For example: instead of
`mvn test`
, use
`mvn-color test`
.
plugin.
It also has a bug where it won't print when mvn prompts for user input, _e.g._ when
Since
[
Maven 3.5.0
](
https://maven.apache.org/docs/3.5.0/release-notes.html
)
the mvn command
using
`archetype:generate`
. See
[
#5052
](
https://github.com/robbyrussell/oh-my-zsh/issues/5052
)
.
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
)
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment