You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2018/08/19 11:24:00 UTC

[jira] [Commented] (MSHADE-271) Suppress “[Jar list] define N overlapping classes” warning if classes from different jars are equal each other

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

Karl Heinz Marbaise commented on MSHADE-271:
--------------------------------------------

Do you have a full working example for this? 

> Suppress “[Jar list] define N overlapping classes” warning if classes from different jars are equal each other 
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: MSHADE-271
>                 URL: https://issues.apache.org/jira/browse/MSHADE-271
>             Project: Maven Shade Plugin
>          Issue Type: Improvement
>            Reporter: Sergey Yurkevich
>            Priority: Minor
>              Labels: Overlapping
>             Fix For: waiting-for-feedback
>
>
> Suppose lib1.jar  and  lib2.jar contain ClassA and  the both classes ClassA are the same as class files. 
> In this case Shade produces a warning
> "lib1.jar, lib2.jar define 1 overlapping classes."
> This message is a little bit confusing because the classes ClassA can overlap each other without troubles.
> I'd suggest to add a way to activate a check for full class equality (not only by name)
> and suppress this warning.
> It could be a new configuration parameter for instance.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)