Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MSHADE-303] Suppress module-info.class warning if the file if filtered #8

Merged
merged 2 commits into from
Oct 31, 2018
Merged

Conversation

danilcha
Copy link
Contributor

@danilcha danilcha commented Oct 30, 2018

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

This pull request fixes this by applying file filters BEFORE these built-in warning checkers.

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. 

This pull request fixes this by applying file filters BEFORE these built-in warning checkers.
@rfscholte rfscholte merged commit 1f7f25d into apache:master Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants