From 3c89ef15b936ab5ce2dbff907232e4e90eed9eca Mon Sep 17 00:00:00 2001 From: Peter Rusinak Date: Thu, 28 Jun 2018 10:55:01 +0200 Subject: [PATCH] added support for gitflow plugin --- bash_completion.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/bash_completion.bash b/bash_completion.bash index 34f5906..20da6fc 100755 --- a/bash_completion.bash +++ b/bash_completion.bash @@ -185,6 +185,7 @@ _mvn() local plugin_goals_spring_boot="spring-boot:run|spring-boot:repackage" local plugin_goals_jgitflow="jgitflow:feature-start|jgitflow:feature-finish|jgitflow:release-start|jgitflow:release-finish|jgitflow:hotfix-start|jgitflow:hotfix-finish|jgitflow:build-number" local plugin_goals_wildfly="wildfly:add-resource|wildfly:deploy|wildfly:deploy-only|wildfly:deploy-artifact|wildfly:redeploy|wildfly:redeploy-only|wildfly:undeploy|wildfly:undeploy-artifact|wildfly:run|wildfly:start|wildfly:shutdown|wildfly:execute-commands" + local plugin_goals_gitflow="gitflow:release-start|gitflow:release-finish|gitflow:release|gitflow:feature-start|gitflow:feature-finish|gitflow:hotfix-start|gitflow:hotfix-finish|gitflow:support-start|gitflow:help" ## some plugin (like jboss-as) has '-' which is not allowed in shell var name, to use '_' then replace local common_plugins=`compgen -v | grep "^plugin_goals_.*" | sed 's/plugin_goals_//g' | tr '_' '-' | tr '\n' '|'`