-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
PatternFilterable not working #151
Comments
@Vampire is this still an issue? |
Well, it is kind of anti-fixed. |
@Vampire I guess I am confused, are we not talking about the |
The old plugin (2.0.0 for example) was
|
As far as I could determine, using the
PatternFilterable
methods likeexclude
andinclude
has no effect at all.I also see nowhere documented how to include or exclude files from analysis.
I found in an issue, that you can use
classes = classes.filter { ... }
to filter the class files.It would be nice if the documentation would get some bits about how to include / exclude files (from analysis, not with the spotbugs exclude filter file which is only applied after the actual analysis).
And it would be much nicer if the
PatternFilterable
methods would work, otherwise it is very confusing thatPatternFilterable
is implemented. At the very least, please make those methods immediately throw an exception if they don't have an effect actually.The PMD plugin for example supports some of the
PatternFilterable
methods (the ones taking an Ant pattern) and the others (likeexclude { ... }
) fail the build if you use them.The text was updated successfully, but these errors were encountered: