[ https://issues.apache.org/jira/browse/MDEP-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105720#comment-17105720 ]
Robert Scholte commented on MDEP-480: ------------------------------------- The description contains an interesting word: scope for artifact or file. Right now overwriteRelease, overwriteSnapshot, overwriteIfNewer are all booleans, but I think it makes sense to allow the scope here too. So valid values would be: - true - false - artifact: (similar to true) - file This will keep the number of parameters small. > 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)