You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2023/04/15 22:23:00 UTC

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

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

Sylwester Lachiewicz reassigned MDEP-480:
-----------------------------------------

    Assignee:     (was: Benson Margulies)

> 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
>            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.20.10#820010)