I have a need to pull mulitple legacy source trees from various scm:url into my local directory and invoke antrun to work on those trees.
So I use multiple executions of maven-scm-plugin:checkout to fetch the source at initialize phase, then invoke antrun to do the rest.
The annoy thing for every build is that scm:checkout remove my source tree and then fetch the source. This is the behavior we want
for normal case. However for my case the checkout is a lengthy process.
I would like to propose a new optiontion param skipCheckoutIfExists, with default to false to checkout mojo.
WDYT? skipCheckoutIfExists name sound acceptable?
if checkoutdir don't exists
run scm:checkout
else
run scm:update (or nothing)
I'm not really sure of the interest of this new parameter.