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
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"
188
188
189
189
## some plugin (like jboss-as) has '-' which is not allowed in shell var name, to use '_' then replace
190
-
local common_plugins=`compgen -v | grep "^plugin_goals_.*"| sed 's/plugin_goals_//g'| tr '_''-'| tr '\n''|'`
190
+
local common_plugins=`compgen -v |\grep "^plugin_goals_.*"| sed -e 's/plugin_goals_//g'-e 's/_/-/g'| tr '\n''|'`
191
191
192
192
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"
193
193
194
-
local profile_settings=`[ -e~/.m2/settings.xml ] && grep -e "<profile>" -A 1 ~/.m2/settings.xml | grep -e "<id>.*</id>"| sed 's/.*<id>//'| sed's/<\/id>.*//g'| tr '\n''|'`
194
+
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''|'`
195
195
196
196
local profiles="${profile_settings}|"
197
197
foritemin${POM_HIERARCHY[*]}
198
198
do
199
-
local profile_pom=`[ -e$item ] && grep -e "<profile>" -A 1 $item| grep -e "<id>.*</id>"| sed 's/.*<id>//'| sed's/<\/id>.*//g'| tr '\n''|'`
199
+
local profile_pom=`[ -e$item ] &&\grep -e "<profile>" -A 1 $item|\grep -e "<id>.*</id>"| sed -e 's/.*<id>//'-e's/<\/id>.*//g'| tr '\n''|'`
0 commit comments