Skip to content

Commit 17fbaa1

Browse files
committed
add scala-maven-plugin support
Add goals for Maven Scala [1] plugin. [1] http://davidb.github.io/scala-maven-plugin/
1 parent e27e290 commit 17fbaa1

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
@@ -183,6 +183,7 @@ _mvn()
183183
local plugin_goals_spring_boot="spring-boot:run|spring-boot:repackage"
184184
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"
185185
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"
186+
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"
186187

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

0 commit comments

Comments
 (0)