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
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -185,24 +185,29 @@ _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'| tr '\n''|'`
188
+
local common_plugins=`compgen -v |\grep "^plugin_goals_.*"| sed -e 's/plugin_goals_//g' -e 's/_/-/g'-e 's@\n@|@g'`
189
189
190
190
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"
191
191
192
-
local profile_settings=`[ -e~/.m2/settings.xml ] &&\grep -e "<profile>" -A 1 ~/.m2/settings.xml |\grep -e "<id>.*</id>"| sed -e 's/.*<id>//' -e 's/<\/id>.*//g'| tr '\n''|'`
0 commit comments