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

Danila updated MSHADE-303:
--------------------------
    Description: 
Maven always shows “Discovered module-info.class. Shading will break its strong 
encapsulation.” warning, even then the user has explicitly filtered those files 
out. The same with “META-INF/INDEX.LIST” file.

I am going to issue a [pull 
request|https://github.com/apache/maven-shade-plugin/pull/8] to fix this by 
applying file filters BEFORE these built-in warning checkers.

  was:
Maven always shows “Discovered module-info.class. Shading will break its strong 
encapsulation.” warning, even then the user has explicitly filtered those files 
out. The same with “META-INF/INDEX.LIST” file.

I am going to issue a pull request to fix this by applying file filters BEFORE 
these built-in warning checkers.


> Suppress module-info.class warning if the file if filtered
> ----------------------------------------------------------
>
>                 Key: MSHADE-303
>                 URL: https://issues.apache.org/jira/browse/MSHADE-303
>             Project: Maven Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.2.0
>            Reporter: Danila
>            Priority: Major
>
> Maven always shows “Discovered module-info.class. Shading will break its 
> strong encapsulation.” warning, even then the user has explicitly filtered 
> those files out. The same with “META-INF/INDEX.LIST” file.
> I am going to issue a [pull 
> request|https://github.com/apache/maven-shade-plugin/pull/8] to fix this by 
> applying file filters BEFORE these built-in warning checkers.



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

Reply via email to