It's hard to see if your filters are correct if you don't post your filter.
But anyway, if the findbugs.xml does not contain the warnings and findbugsXml.xml does contain the warnings then this seem to be a bug in the maven findbugs plug-in. Which version are you using? Ulli On 04/16/2012 11:42 AM, jhoomshar...@netscape.net wrote: > I looked into it and did not found any issue with reports generated by > mvn findbugs:findbugs command the html report generated looks good, > but the xml reports findbugsXml.xml still shows excluded class and > packages under Jenkins Findbugs report, this is strange and I have no > idea why and how this is happening, do I need to configure anything > more in findbugs plug-in to exclude the packages, I don't think I have > to any more configuration in findbugs plugin the exclude list should > take care of exclude packages, > Or do I need to put exclude list under each modules rather than using > it only in parent pom? > Any help in this regard is highly appreciated. > > > -----Original Message----- > From: Ullrich Hafner <ullrich.haf...@gmail.com > <mailto:ullrich.haf...@gmail.com>> > To: jenkinsci-users <jenkinsci-users@googlegroups.com > <mailto:jenkinsci-users@googlegroups.com>> > Sent: Thu, Sep 29, 2011 6:48 pm > Subject: Re: Findbugs report with excluded packages > > The FindBugs Jenkins plug-in does not read the exclude filters specified > in your pom it just renders the results of the maven plug-in. I.e., this > must be a problem in your filter configuration. > > Ulli > > On 09/29/2011 02:44 PM, Christoph Kutzinski wrote: > > Is it working if you call mvn install findbugs:findbugs manually, i.e. from > > a > shell? > > > > If not, we need to see your exclude and include files. > > > > > > -------- Original-Nachricht -------- > >> Datum: Thu, 29 Sep 2011 08:22:26 -0400 (EDT) > >> Von: jhoomshar...@netscape.net <mailto:jhoomshar...@netscape.net> > >> An: jenkinsci-users@googlegroups.com > >> <mailto:jenkinsci-users@googlegroups.com> > >> Betreff: Findbugs report with excluded packages > >> I am using Jenkins findbugs plugin v4.29, now I configured my pom to > >> exclude few packages, but when I run my project which contains > >> configuration > >> mvn install findbugs:findbugs > >> > >> I am still seeing that findbugs is generating report for excluded > >> packages, I have no idea if this is an issue with findbugs maven plugin or > findbugs > >> Jenkins plugin, my pom with finbugs configuration looks like this > >> > >> <plugin> > >> <groupId>org.codehaus.mojo</groupId> > >> <artifactId>findbugs-maven-plugin</artifactId> > >> <version>2.3.1</version> > >> <configuration> > >> <findbugsXmlOutput>true</findbugsXmlOutput> > >> > >> <findbugsXmlWithMessages>true</findbugsXmlWithMessages> > >> <xmlOutput>true</xmlOutput> > >> > >> <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile> > >> > >> <includeFilterFile>findbugs-include.xml</includeFilterFile> > >> </configuration> > >> </plugin> > >> > >> Any help in this regard will be highly appreciated. > >> > >> Thanks, > >> Jhoom > >> >