You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bash_completion.bash
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -185,8 +185,7 @@ _mvn()
185
185
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
186
187
187
## some plugin (like jboss-as) has '-' which is not allowed in shell var name, to use '_' then replace
188
-
local common_plugins=`compgen -v |\grep "^plugin_goals_.*"| sed -e 's/plugin_goals_//g' -e 's/_/-/g' -e 's@\n@|@g'`
189
-
188
+
local common_plugins=`compgen -v |\grep "^plugin_goals_.*"| sed -e 's/plugin_goals_//g' -e 's/_/-/g'| tr '\n''|'`
190
189
local options="-Dmaven.test.skip=true|-DskipTests|-DskipITs|-Dtest|-Dit.test|-DfailIfNoTests|-Dmaven.surefire.debug|-DenableCiProfile|-Dpmd.skip=true|-Dcheckstyle.skip=true|-Dtycho.mode=maven|-Dmaven.javadoc.skip=true|-Dgwt.compiler.skip|-Dcobertura.skip=true|-Dfindbugs.skip=true||-DperformRelease=true|-Dgpg.skip=true|-DforkCount"
0 commit comments