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"
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 's/plugin_goals_//g'| tr '_''-'| tr '\n''|'`
188
+
local common_plugins=`compgen -v |\grep "^plugin_goals_.*"| sed -e 's/plugin_goals_//g'-e 's/_/-/g'| tr '\n''|'`
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 's/.*<id>//'| sed's/<\/id>.*//g'| tr '\n''|'`
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''|'`
193
193
194
194
local profiles="${profile_settings}|"
195
195
foritemin${POM_HIERARCHY[*]}
196
196
do
197
-
local profile_pom=`[ -e$item ] && grep -e "<profile>" -A 1 $item| grep -e "<id>.*</id>"| sed 's/.*<id>//'| sed's/<\/id>.*//g'| tr '\n''|'`
197
+
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