1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 10:59:32 +08:00
ohmyzsh/plugins/mvn/README.md
intsilence 3f2dd80773 add 'mvn clean install -DskipTests --offline' alias to speed up maven compile (#5153)
* add 'mvn clean install -DskipTests --offline' to speed up maven compile

* update maven plugin README
2016-06-15 05:42:48 +02:00

1.8 KiB

Introduction

The mvn plugin provides many
useful aliases as well as completion for the mvn command.

Enable it by adding mvn to the plugins array in your zshrc file:

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