java - How to execute multiple goals in one maven command, but with different arguments for each goal -
i trying run 2 maven goals in 1 maven command like:
mvn release:prepare release:perform -darguments='-dmaven.test.skip=true'
but, first goal skip tests , second 1 not skip tests.
it has in 1 line command.
is there way other executing them in 2 separate commands?
you can use following:
mvn -dmaven.test.skip=true release:prepare release:perform
within release-plugin arguments passed via -darguments='....'
sub process started release:perform
. other arguments passed process started release:prepare
.
Comments
Post a Comment