You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Duong Nguyen (JIRA)" <ji...@codehaus.org> on 2015/03/01 08:41:19 UTC

[jira] (MDEP-480) There should be an option to prevent files overwrite for unpack-dependencies and unpack

     [ https://jira.codehaus.org/browse/MDEP-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duong Nguyen updated MDEP-480:
------------------------------

    Description: 
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).

  was:
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 afile should overwrite an existing file).


> There should be an option to prevent files overwrite for unpack-dependencies and unpack
> ---------------------------------------------------------------------------------------
>
>                 Key: MDEP-480
>                 URL: https://jira.codehaus.org/browse/MDEP-480
>             Project: Maven Dependency Plugin
>          Issue Type: Improvement
>            Reporter: Duong Nguyen
>         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
(v6.1.6#6162)