there is an "includeTests" property which is false by default. Add it as below
<reporting> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.3</version> <configuration> < includeTests>true</includeTests> <effort>Max</effort> <threshold>Low</threshold> </configuration> </plugin> </plugins> </reporting> Regards, Garvin LeClaire garvin.lecla...@gmail.com On Wed, Feb 26, 2014 at 5:35 PM, Eric Kolotyluk <eric.koloty...@gmail.com>wrote: > I added the following to my POM > > <reporting> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>findbugs-maven-plugin</artifactId> > <version>2.5.3</version> > <configuration> > <effort>Max</effort> > <threshold>Low</threshold> > </configuration> > </plugin> > </plugins> > </reporting> > > And it works great for my main source, but it does not seem to check my > test source. It seems to me it would be useful to run findbugs on test code > too. Is there some simple way to configure this? > > Cheers, Eric > _______________________________________________ > Findbugs-discuss mailing list > findbugs-disc...@cs.umd.edu > https://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss >