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

Generate HTML Report with Findbugs #60

Closed SimonScholz closed 1 year ago

SimonScholz commented 5 years ago

I am pretty sure that with findbugs it was possible to generate html reports during a maven build. Is there a way to generate a more human readable output during the build?

vogella commented 5 years ago

+1 for the ability to generate HTML reports out of the box.

kennardconsulting commented 5 years ago

+1

This is actually pretty important from a Project Management perspective. We have departments that require us to submit a written report of the analysis.

hazendaz commented 5 years ago

It already does this. Run mvn site. Am I missing something here?

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


From: Richard Kennard notifications@github.com Sent: Friday, June 15, 2018 6:06:05 AM To: spotbugs/spotbugs-maven-plugin Cc: Subscribed Subject: Re: [spotbugs/spotbugs-maven-plugin] Generate HTML Report with Findbugs (#60)

+1

This is actually pretty important from a Project Management perspective. We have departments that require us to submit a written report of the analysis.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/spotbugs/spotbugs-maven-plugin/issues/60#issuecomment-397575777, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA7ho7bqcpKqsCh-q7jW29WgoyjDdJ1Yks5t84cNgaJpZM4UVEWo.

MirPing commented 5 years ago

how can i generate html output with maven findbugs plugin?

kennardconsulting commented 5 years ago

@hazendaz yes you are correct. mvn site does it

cziesman commented 5 years ago

We would like to generate the HTML report as part of the Maven verify phase, so that developers have access to it when a Jenkins build fails due to too many errors. How do we achieve this? We do not use mvn site in our CI/CD pipeline because it takes too long to complete.

hazendaz commented 5 years ago

@cziesman How do you plan to make the site html pages available during that run? Generally you just have the jenkins console output available to the users. There as with many other plugins, it will show you where the issues are when using 'spotbugs:check'.

jcamerin commented 2 years ago

Developers on my regularly ask how to check static analysis locally on their development machines. If the plugin can generate html output, they will be able to open those pages with a browser. This is faster for them than waiting for a Jenkins build to complete

NeelimaShrm commented 1 year ago

Can we now generate HTML report or feature is still not released for end users? If yes, please share the configuration needed.

hazendaz commented 1 year ago

feature was never completed and is still sitting outstanding #161

hazendaz commented 1 year ago

This has now been worked on and merged into spotbugs branch. Will release within the week.