You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2025/02/02 11:58:00 UTC

[jira] [Commented] (MDEP-772) "failOnDuplicates" option for "unpack" goal

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

Elliotte Rusty Harold commented on MDEP-772:
--------------------------------------------

How would this interact with the overwrite rules?

https://maven.apache.org/plugins/maven-dependency-plugin/usage.html#Overwrite_Rules

> "failOnDuplicates" option for "unpack" goal
> -------------------------------------------
>
>                 Key: MDEP-772
>                 URL: https://issues.apache.org/jira/browse/MDEP-772
>             Project: Maven Dependency Plugin
>          Issue Type: New Feature
>          Components: unpack
>            Reporter: Yegor Bugayenko
>            Assignee: Elliotte Rusty Harold
>            Priority: Major
>
> Would be great to have an new option 'failOnDuplicates'. If it's set to TRUE and the files we are trying to create already exist, we don't overwrite them, but raise an exception.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)