You can put your file, i.e. findbugs-sonar.xml in the src / main / resource folder, and specify the path in your maven settings as follows:
<reporting> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.3-SNAPSHOT</version> <configuration> <includeFilterFile>findbugs-sonar.xml</includeFilterFile> </configuration> </plugin> </plugins> </reporting>
source share