[
https://issues.apache.org/jira/browse/SCM-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17960669#comment-17960669
]
ASF GitHub Bot commented on SCM-201:
------------------------------------
jira-importer opened a new issue, #446:
URL: https://github.com/apache/maven-scm/issues/446
**[Dan
Tran](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dantran)**
opened
**[SCM-201](https://issues.apache.org/jira/browse/SCM-201?redirect=false)** and
commented
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?
---
**Affects:** 1.0-beta-3
> Option to ignore checkout when checkoutDirectory exists
> -------------------------------------------------------
>
> Key: SCM-201
> URL: https://issues.apache.org/jira/browse/SCM-201
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: New Feature
> Components: maven-plugin
> Affects Versions: 1.0-beta-3
> Environment: xp, starteam
> Reporter: Dan Tran
> Assignee: Dan Tran
> Priority: Major
> Fix For: 1.0-beta-4
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)