You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "md_5 (Jira)" <ji...@apache.org> on 2020/04/17 10:10:00 UTC

[jira] [Commented] (MSHADE-306) Log all duplicates, not only classes

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

md_5 commented on MSHADE-306:
-----------------------------

I think it needs to be revisited for the reason that virtually every single jar used will define a META-INF/MANIFEST.MF and therefore overlap, triggering a warning.

The default configuration shouldn't print a warning imo.

> Log all duplicates, not only classes
> ------------------------------------
>
>                 Key: MSHADE-306
>                 URL: https://issues.apache.org/jira/browse/MSHADE-306
>             Project: Maven Shade Plugin
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>            Priority: Major
>             Fix For: 3.2.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Issue to silently swallow duplicated resources is that you don't see, even in debug, that there is a choice done by the plugin. This breaks the final app in a lot of cases (all SPI-like cases, OSGi for the MANIFEST.MF etc...). So let's log it as for classes.



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