You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2006/05/14 09:44:41 UTC
[jira] Commented: (SCM-201) Option to ignore checkout when
checkoutDirectory exists
[ http://jira.codehaus.org/browse/SCM-201?page=comments#action_65342 ]
Emmanuel Venisse commented on SCM-201:
--------------------------------------
why don't you run something like this in a script:
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.
> Option to ignore checkout when checkoutDirectory exists
> -------------------------------------------------------
>
> Key: SCM-201
> URL: http://jira.codehaus.org/browse/SCM-201
> Project: Maven SCM
> Type: New Feature
> Components: maven-plugin
> Versions: 1.0-beta-3
> Environment: xp, starteam
> Reporter: Dan Tran
>
>
> 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?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira