Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Go here http://findbugs.sourceforge.net/api/index.html to see the list of names that are allowed in the comma delimited list These are the names that can be used in the bold section "visitor" sections below.

Code Block
<reporting>
              <plugins>
                      <plugin>
                             <groupId>org.codehaus.mojo</groupId>
                             <artifactId>findbugs-maven-plugin</artifactId>
                             <configuration>
                                    <xmlOutput>true</xmlOutput>
                                    <xmlOutputDirectory>
                                           ${project.build.directory}/findbugs-reports
                                    </xmlOutputDirectory>
                                    <threshold>Medium</threshold>
                                    <effort>Max</effort>
                                    <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
                                    <includeFilterFile>findbugs-include.xml</includeFilterFile>
                                    <visitors>
                                            FindDeadLocalStores,UnreadFields
                                    </visitors>
                                    <omitVisitors>
                                           FindDeadLocalStores,UnreadFields
                                    </omitVisitors>
                                    <onlyAnalyze>org.codehaus.mojo.findbugs.*</onlyAnalyze>
                                    <pluginList>/libs/fb-contrib/fb-contrib-2.8.0.jar</pluginList>
                                    <debug>false</debug>
                                    <relaxed>true</relaxed>
                             </configuration>
                      </plugin>