Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
35539fd6
Commit
35539fd6
authored
Sep 17, 2015
by
Wajdi Al-Hawari
Committed by
Marc Cornellà
Feb 17, 2019
Browse files
mvn: add initialize support in mvn completion
parent
e056aee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/mvn/mvn.plugin.zsh
View file @
35539fd6
...
@@ -53,6 +53,7 @@ mvn-color() {
...
@@ -53,6 +53,7 @@ mvn-color() {
alias
mvn
=
"mvn-or-mvnw"
alias
mvn
=
"mvn-or-mvnw"
# aliases
# aliases
alias
mvncini
=
'mvn clean initialize'
alias
mvncie
=
'mvn clean install eclipse:eclipse'
alias
mvncie
=
'mvn clean install eclipse:eclipse'
alias
mvnci
=
'mvn clean install'
alias
mvnci
=
'mvn clean install'
alias
mvncist
=
'mvn clean install -DskipTests'
alias
mvncist
=
'mvn clean install -DskipTests'
...
@@ -81,7 +82,7 @@ alias mvndocs='mvn dependency:resolve -Dclassifier=javadoc'
...
@@ -81,7 +82,7 @@ alias mvndocs='mvn dependency:resolve -Dclassifier=javadoc'
function
listMavenCompletions
{
function
listMavenCompletions
{
reply
=(
reply
=(
# common lifecycle
# common lifecycle
clean process-resources compile process-test-resources test-compile
test
integration-test package verify
install
deploy site
clean
initialize
process-resources compile process-test-resources test-compile
test
integration-test package verify
install
deploy site
# common plugins
# common plugins
deploy failsafe
install
site surefire checkstyle javadoc jxr pmd ant antrun archetype assembly dependency enforcer gpg
help
release repository
source
eclipse idea jetty cargo jboss tomcat tomcat6 tomcat7
exec
versions war ear ejb android scm buildnumber nexus repository sonar license hibernate3 liquibase flyway gwt
deploy failsafe
install
site surefire checkstyle javadoc jxr pmd ant antrun archetype assembly dependency enforcer gpg
help
release repository
source
eclipse idea jetty cargo jboss tomcat tomcat6 tomcat7
exec
versions war ear ejb android scm buildnumber nexus repository sonar license hibernate3 liquibase flyway gwt
...
...
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