[ 
https://issues.apache.org/jira/browse/MDEP-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104887#comment-17104887
 ] 

Benson Margulies commented on MDEP-480:
---------------------------------------

Jonathan Volfson and I are working on this. I wanted to state the original 
'mission' of this patch more carefully and see if the community is comfortable:

 

Consider a artifact (g:a) that has multiple files, either via classifiers or by 
type. Consider a directory on disk that contains _some_ of the files for this 
artifact. The effect of this flag is to allow the plugin to deliver the missing 
files without overwriting any existing files.

 

> There should be an option to prevent files overwrite for unpack-dependencies 
> and unpack
> ---------------------------------------------------------------------------------------
>
>                 Key: MDEP-480
>                 URL: https://issues.apache.org/jira/browse/MDEP-480
>             Project: Maven Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack, unpack-dependencies
>            Reporter: duongdeptrai
>            Assignee: Benson Margulies
>            Priority: Major
>         Attachments: patch-maven-dependency-2.9-overwriteFiles.patch
>
>
> There should be an option to prevent file overwrite when extracting files.
> This option is very helpful when unpack or unpack-dependencies happens after 
> process-resouce phase. 
> Currently, there is overwriteRelease, overwriteSnapshot, overwriteIfNewer. 
> But they all work on the artifact scope (that means decide if a whole 
> artifact should overwrite), not files scope (if a file should overwrite an 
> existing file).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to