spotbugs / spotbugs-maven-plugin

Maven Mojo Plug-In to generate reports based on the SpotBugs Analyzer
https://spotbugs.github.io/spotbugs-maven-plugin/
Apache License 2.0
69 stars 51 forks source link

added maxAllowedViolations property similar to checkstyle. #85

Closed Ranjodh-Singh closed 5 years ago

Ranjodh-Singh commented 5 years ago

added maxAllowedViolations property similar to CheckStyle to ignore the N number of errors where N is value of the property maxAllowedViolations. refer - #84

Ranjodh-Singh commented 5 years ago

@hazendaz could you check the request and is there any mailing list that I could join.

hazendaz commented 5 years ago

I'll look at this tonight. There likely is a spotbugs mailing list but not on for the plugin itself. Over on spotbugs they have this plugin documented.

Get Outlook for Androidhttps://aka.ms/ghei36


From: Ranjodh Singh notifications@github.com Sent: Saturday, October 6, 2018 6:26:54 AM To: spotbugs/spotbugs-maven-plugin Cc: Jeremy Landis; Mention Subject: Re: [spotbugs/spotbugs-maven-plugin] added maxAllowedViolations property similar to checkstyle. (#85)

@hazendazhttps://github.com/hazendaz could you check the request and is there any mailing list that I could join.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/spotbugs/spotbugs-maven-plugin/pull/85#issuecomment-427563113, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA7ho7wgMayKuwnHkU3FMLldDho5pPxlks5uiIVugaJpZM4XJ3EP.

hazendaz commented 5 years ago

Thanks @Ranjodh-Singh. this is now merged. I'm waiting on groovy support for jdk11 before next release. If you need this out sooner, I can look at releasing a patch next weekend. Let me know...

hazendaz commented 5 years ago

@Ranjodh-Singh If you can, please write a unit test in the integration tests to test this feature.

Ranjodh-Singh commented 5 years ago

thanks @hazendaz I will be updating the unit test case for this one.

Ravik5 commented 2 years ago

Is anyone used in a Gradle project, If yes can you guide me??

hazendaz commented 2 years ago

@Ravik5 you would want to confirm that is coded which it should be in the gradle plugin as this one is maven -> https://github.com/spotbugs/spotbugs-gradle-plugin

Ravik5 commented 2 years ago

No , I have not added any code, Let me know if there is something in Gradle I can use??