mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Merge remote-tracking branch 'robby/master'
This commit is contained in:
commit
d06632d43b
316 changed files with 17119 additions and 3277 deletions
33
plugins/mvn/README.md
Normal file
33
plugins/mvn/README.md
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
## Introduction
|
||||
|
||||
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 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` |
|
||||
| `mvncisto` | `mvn clean install -DskipTests --offline` |
|
||||
| `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` |
|
||||
|
|
@ -1,24 +1,24 @@
|
|||
# mvn-color based on https://gist.github.com/1027800
|
||||
export BOLD=`tput bold`
|
||||
export UNDERLINE_ON=`tput smul`
|
||||
export UNDERLINE_OFF=`tput rmul`
|
||||
export TEXT_BLACK=`tput setaf 0`
|
||||
export TEXT_RED=`tput setaf 1`
|
||||
export TEXT_GREEN=`tput setaf 2`
|
||||
export TEXT_YELLOW=`tput setaf 3`
|
||||
export TEXT_BLUE=`tput setaf 4`
|
||||
export TEXT_MAGENTA=`tput setaf 5`
|
||||
export TEXT_CYAN=`tput setaf 6`
|
||||
export TEXT_WHITE=`tput setaf 7`
|
||||
export BACKGROUND_BLACK=`tput setab 0`
|
||||
export BACKGROUND_RED=`tput setab 1`
|
||||
export BACKGROUND_GREEN=`tput setab 2`
|
||||
export BACKGROUND_YELLOW=`tput setab 3`
|
||||
export BACKGROUND_BLUE=`tput setab 4`
|
||||
export BACKGROUND_MAGENTA=`tput setab 5`
|
||||
export BACKGROUND_CYAN=`tput setab 6`
|
||||
export BACKGROUND_WHITE=`tput setab 7`
|
||||
export RESET_FORMATTING=`tput sgr0`
|
||||
BOLD=`tput bold`
|
||||
UNDERLINE_ON=`tput smul`
|
||||
UNDERLINE_OFF=`tput rmul`
|
||||
TEXT_BLACK=`tput setaf 0`
|
||||
TEXT_RED=`tput setaf 1`
|
||||
TEXT_GREEN=`tput setaf 2`
|
||||
TEXT_YELLOW=`tput setaf 3`
|
||||
TEXT_BLUE=`tput setaf 4`
|
||||
TEXT_MAGENTA=`tput setaf 5`
|
||||
TEXT_CYAN=`tput setaf 6`
|
||||
TEXT_WHITE=`tput setaf 7`
|
||||
BACKGROUND_BLACK=`tput setab 0`
|
||||
BACKGROUND_RED=`tput setab 1`
|
||||
BACKGROUND_GREEN=`tput setab 2`
|
||||
BACKGROUND_YELLOW=`tput setab 3`
|
||||
BACKGROUND_BLUE=`tput setab 4`
|
||||
BACKGROUND_MAGENTA=`tput setab 5`
|
||||
BACKGROUND_CYAN=`tput setab 6`
|
||||
BACKGROUND_WHITE=`tput setab 7`
|
||||
RESET_FORMATTING=`tput sgr0`
|
||||
|
||||
|
||||
# Wrapper function for Maven's mvn command.
|
||||
|
|
@ -45,6 +45,7 @@ mvn-color()
|
|||
alias mvncie='mvn clean install eclipse:eclipse'
|
||||
alias mvnci='mvn clean install'
|
||||
alias mvncist='mvn clean install -DskipTests'
|
||||
alias mvncisto='mvn clean install -DskipTests --offline'
|
||||
alias mvne='mvn eclipse:eclipse'
|
||||
alias mvnce='mvn clean eclipse:clean eclipse:eclipse'
|
||||
alias mvnd='mvn deploy'
|
||||
|
|
@ -171,7 +172,7 @@ function listMavenCompletions {
|
|||
gwt:browser gwt:clean gwt:compile gwt:compile-report gwt:css gwt:debug gwt:eclipse gwt:eclipseTest gwt:generateAsync gwt:help gwt:i18n gwt:mergewebxml gwt:resources gwt:run gwt:sdkInstall gwt:source-jar gwt:soyc gwt:test
|
||||
|
||||
# options
|
||||
-Dmaven.test.skip=true -DskipTests -DskipITs -Dmaven.surefire.debug -DenableCiProfile -Dpmd.skip=true -Dcheckstyle.skip=true -Dtycho.mode=maven
|
||||
-Dmaven.test.skip=true -DskipTests -DskipITs -Dmaven.surefire.debug -DenableCiProfile -Dpmd.skip=true -Dcheckstyle.skip=true -Dtycho.mode=maven -Dmaven.test.failure.ignore=true
|
||||
|
||||
# arguments
|
||||
-am -amd -B -C -c -cpu -D -e -emp -ep -f -fae -ff -fn -gs -h -l -N -npr -npu -nsu -o -P -pl -q -rf -s -T -t -U -up -V -v -X
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue