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
78 stars 53 forks source link

Spotbugs maven report: how to get text output #230

Open linusjf opened 4 years ago

linusjf commented 4 years ago
          <addSourceDirs>true</addSourceDirs>
            <failOnError>false</failOnError>
            <excludeFilterFile>${spotbugs.excludeFilterFile}</excludeFilterFile>
            <includeTests>true</includeTests>
            <skipEmptyReport>true</skipEmptyReport>
            <xmlOutput>false</xmlOutput>
            <spotbugsXmlOutput>false</spotbugsXmlOutput>
            <effort>Max</effort>
            <threshold>Default</threshold>

The above is the configuration parameters for my Spotbugs plugin entry. How do I output the report in text format?

The pom is located at:

https://github.com/Fernal73/DSAlgos/blob/master/pom.xml

linusjf commented 4 years ago

I find the XML output too verbose even when there are no bugs reported. Is there a way of reducing the verbosity of the output? Additionally, the output is poorly formatted. Too many elements crammed into a single line.