-
Notifications
You must be signed in to change notification settings - Fork 54
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
SuppressFBWarnings is ignored #558
Comments
@victorherraiz-santander Did that work previously on 4.7.3.0? |
4.7.3.0 behaves as expected and suppress the warning |
@victorherraiz-santander Thanks, will look into it as soon as I can. Nothing is coming to mind at the moment as to the issue, still same spotbugs... |
Thank you! These are the versions that work for me:
And this is the plugin declaration:
If I increase just the plugin versions it fails |
Diff between 4.7.3.0 and master can be seen here. spotbugs-maven-plugin-4.7.3.0...spotbugs Only specific changes I can gather are that sarif originally ignored the xml report. Spotbugs claims to support as many reports as needed. The xml one is default. I wonder if allowing both to be created has not impacted sarif usage. Can you check your output and see if there is additionally xml output that may contain the specific issue? Also would it be possible to write an integration test for us that demonstrates this specific issue to better help solve it? I'd like to get a 4.7.3.3 out soon as groovy just fixed a defect affecting this project that I've now allowed so I'll wait until I hear back from you to potentially get this included. |
Sorry for the delay. Both, xml and sarif, show the same info. I will try adding an integration test to replicate the issue. I also tested with 4.7.3.4 and the issue is still there. As you can see I am using the same version of spotbugs with different plugin |
@hazendaz The issue is still there for 4.8.2.0 with 4.8.2 Moving |
Is this a spotbugs issue then rather than maven plugin? |
Using spotbugs 4.7.3 in 4.7.3.1 or even in 4.8.2.0 does not solve the problem. And using a new spotbugs version in 4.7.3.0 does not reproduce the issue. Then, I think spotbugs is not the issue. I saw that there are several dependency updates on 4.7.3.1. I tried to downgrade most of them but groovy, the issue still there. I will take a look to the options pass to the ant task when I have some free time. |
So you are saying it was working prior to 4.7.0? Possibly something in there. I've been trying to be a bit more aggressive on this repo and unlike in the past where this was my only part of spotbugs, I'm now involved in most of the other projects now too. We did seem to lose some regular folks working on things so its down to just really 3 of us and 2 others that have stepped back a little. Unfortunately on maven, its mostly been me so any help you can provide would be great. Any integration tests added would help too. In fact, I pretty much go with all is well when those work given there are so many. |
SuppressFBWarnings is ignored in versions 4.7.3.1 and 4.7.3.2.
output:
The text was updated successfully, but these errors were encountered: