Skip to content

Commit bfe5a5d

Browse files
committed
Merge pull request #74 from agebhar1/feature/scala-maven-plugin
add scala-maven-plugin support
2 parents 91f5046 + 17fbaa1 commit bfe5a5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bash_completion.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ _mvn()
184184
local plugin_goals_spring_boot="spring-boot:run|spring-boot:repackage"
185185
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"
186186
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"
187+
local plugin_goals_scala="scala:add-source|scala:cc|scala:cctest|scala:compile|scala:console|scala:doc|scala:doc-jar|scala:help|scala:run|scala:script|scala:testCompile"
187188

188189
## some plugin (like jboss-as) has '-' which is not allowed in shell var name, to use '_' then replace
189190
local common_plugins=`compgen -v | grep "^plugin_goals_.*" | sed 's/plugin_goals_//g' | tr '_' '-' | tr '\n' '|'`

0 commit comments

Comments
 (0)