Re: Findbugs report with excluded packages

2012-04-20 Thread jhoomsharabi

I agree defiantly can give a try on findbugs list as well, but issue is not 
coming on findbugs direct report, issue is coming when report is visible 
through findbugs Jenkins plugin.
That’s why I am crying for help in this forum, there are so many users who must 
be using Jenkins findbugs plugin so the question is for them also are they not 
seeing this kind of issue in their findbugs report and if not can they help me 
where I am wrong in generating report, please help.
 


-Original Message-
From: Ullrich Hafner 
To: jenkinsci-users 
Sent: Fri, Apr 20, 2012 4:16 pm
Subject: Re: Findbugs report with excluded packages


Maybe you could try on the findbugs list (however there is not much traffic 
there...)

Ulli

On 04/20/2012 12:43 PM, jhoomshar...@netscape.net wrote: 
If pattern is not correct than it should be an issue with html report 
generation as well, I should have able to see bug patterns in html format 
findbugs report generation.
I can send you both my html generated report with and without bug patterns, in 
these reports you can clearly see the difference.
 
There is an issue but unable to nail down the issue here, there are so many 
users I am the only one who is facing this kind of problem.
 
 
-Original Message-
From: Ullrich Hafner 
To: jenkinsci-users 
Sent: Thu, Apr 19, 2012 8:57 pm
Subject: Re: Fwd: Findbugs report with excluded packages


Maybe your pattern is not correct, I'm using the following:

 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   



On 04/19/2012 10:28 AM, jhoomshar...@netscape.net wrote: 


 
With some investigation I found that if I run maven command with test cases and 
findbugs report generation through Jenkins 
mvn clean install findbugs:findbugs
 
the exclude list does not work and Jenkins findbugs report get generated with 
exclude list, but if I skip test cases
 
mvn -Dmaven.test.skip  clean install findbugs:findbugs
 
Findbugs report generated by Jenkins findbugs plugin looks pretty ok, but still 
entire exclusion does not happens like “Bug Patterns” () are still visible in findbugs generated 
report by Jenkins.
Still I have to test with emma report plus findbugs to see after effect
 
I am confused here whats going wrong, I need to generate all three reports in 
single project so that everything is accessible on single project.
Attaching my findbugs-exclude.xml file for reference.
 
I am using “maven-findbugs-plugin” version 2.3.1
 
Thanks,
 
-Original Message-
From: Ullrich Hafner 
To: jenkinsci-users 
Cc: jhoomsharabi 
Sent: Mon, Apr 16, 2012 7:49 pm
Subject: Re: Findbugs report with excluded packages


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 
To: jenkinsci-users 
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 
n your pom it just renders the results of the maven plug-in. I.e., this 
ust 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 
hell?

 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
> An: 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 
indbugs
> Jenkins plugin, my pom with finbugs configuration looks like this
>
> 
>org.codehaus.mojo
>   

Re: Findbugs report with excluded packages

2012-04-20 Thread Ullrich Hafner
Maybe you could try on the findbugs list (however there is not much
traffic there...)

Ulli

On 04/20/2012 12:43 PM, jhoomshar...@netscape.net wrote:
> If pattern is not correct than it should be an issue with html report
> generation as well, I should have able to see bug patterns in html
> format findbugs report generation.
> I can send you both my html generated report with and without bug
> patterns, in these reports you can clearly see the difference.
>  
> There is an issue but unable to nail down the issue here, there are so
> many users I am the only one who is facing this kind of problem.
>  
>  
> -Original Message-
> From: Ullrich Hafner 
> To: jenkinsci-users 
> Sent: Thu, Apr 19, 2012 8:57 pm
> Subject: Re: Fwd: Findbugs report with excluded packages
>
> Maybe your pattern is not correct, I'm using the following:
>
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
>
>
> On 04/19/2012 10:28 AM, jhoomshar...@netscape.net wrote:
>>  
>> With some investigation I found that if I run maven command with test
>> cases and findbugs report generation through Jenkins
>> mvn clean install findbugs:findbugs
>>  
>> the exclude list does not work and Jenkins findbugs report get
>> generated with exclude list, but if I skip test cases
>>  
>> mvn -Dmaven.test.skip  clean install findbugs:findbugs
>>  
>> Findbugs report generated by Jenkins findbugs plugin looks pretty ok,
>> but still entire exclusion does not happens like “Bug Patterns” (> pattern="REC_CATCH_EXCEPTION" />) are still visible in findbugs
>> generated report by Jenkins.
>> Still I have to test with emma report plus findbugs to see after effect
>>  
>> I am confused here whats going wrong, I need to generate all three
>> reports in single project so that everything is accessible on single
>> project.
>> Attaching my findbugs-exclude.xml file for reference.
>>  
>> I am using “maven-findbugs-plugin” version 2.3.1
>>  
>> Thanks,
>>  
>> -Original Message-
>> From: Ullrich Hafner > <mailto:ullrich.haf...@gmail.com>>
>> To: jenkinsci-users > <mailto:jenkinsci-users@googlegroups.com>>
>> Cc: jhoomsharabi > <mailto:jhoomshar...@netscape.net>>
>> Sent: Mon, Apr 16, 2012 7:49 pm
>> Subject: Re: Findbugs report with excluded packages
>>
>> 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 >> <mailto:ullrich.haf...@gmail.com>>
>>> To: jenkinsci-users >> <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:2

Re: Findbugs report with excluded packages

2012-04-20 Thread jhoomsharabi

If pattern is not correct than it should be an issue with html report 
generation as well, I should have able to see bug patterns in html format 
findbugs report generation.
I can send you both my html generated report with and without bug patterns, in 
these reports you can clearly see the difference.
 
There is an issue but unable to nail down the issue here, there are so many 
users I am the only one who is facing this kind of problem.
 

-Original Message-
From: Ullrich Hafner 
To: jenkinsci-users 
Sent: Thu, Apr 19, 2012 8:57 pm
Subject: Re: Fwd: Findbugs report with excluded packages


Maybe your pattern is not correct, I'm using the following:

 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   



On 04/19/2012 10:28 AM, jhoomshar...@netscape.net wrote: 


 
With some investigation I found that if I run maven command with test cases and 
findbugs report generation through Jenkins 
mvn clean install findbugs:findbugs
 
the exclude list does not work and Jenkins findbugs report get generated with 
exclude list, but if I skip test cases
 
mvn -Dmaven.test.skip  clean install findbugs:findbugs
 
Findbugs report generated by Jenkins findbugs plugin looks pretty ok, but still 
entire exclusion does not happens like “Bug Patterns” () are still visible in findbugs generated 
report by Jenkins.
Still I have to test with emma report plus findbugs to see after effect
 
I am confused here whats going wrong, I need to generate all three reports in 
single project so that everything is accessible on single project.
Attaching my findbugs-exclude.xml file for reference.
 
I am using “maven-findbugs-plugin” version 2.3.1
 
Thanks,
 
-Original Message-
From: Ullrich Hafner 
To: jenkinsci-users 
Cc: jhoomsharabi 
Sent: Mon, Apr 16, 2012 7:49 pm
Subject: Re: Findbugs report with excluded packages


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 
To: jenkinsci-users 
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 
n your pom it just renders the results of the maven plug-in. I.e., this 
ust 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 
hell?

 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
> An: 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 
indbugs
> Jenkins plugin, my pom with finbugs configuration looks like this
>
> 
>org.codehaus.mojo
>findbugs-maven-plugin
>2.3.1
>
>true
>
> true
>true
>
> findbugs-exclude.xml
>
> findbugs-include.xml
>   
> 
>
> Any help in this regard will be highly appreciated.
>
> Thanks,
> Jhoom
>











Re: Findbugs report with excluded packages

2012-04-16 Thread Ullrich Hafner
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  <mailto:ullrich.haf...@gmail.com>>
> To: jenkinsci-users  <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
> >>
> >> 
> >>org.codehaus.mojo
> >>findbugs-maven-plugin
> >>2.3.1
> >>
> >>true
> >>
> >> true
> >>true
> >>
> >> findbugs-exclude.xml
> >>
> >> findbugs-include.xml
> >>   
> >> 
> >>
> >> Any help in this regard will be highly appreciated.
> >>
> >> Thanks,
> >> Jhoom
> >>
>



Re: Findbugs report with excluded packages

2012-04-16 Thread jhoomsharabi


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 
To: jenkinsci-users 
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 
n your pom it just renders the results of the maven plug-in. I.e., this 
ust 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 
hell?

 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
> An: 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 
indbugs
> Jenkins plugin, my pom with finbugs configuration looks like this
>
> 
>org.codehaus.mojo
>findbugs-maven-plugin
>2.3.1
>
>true
>
> true
>true
>
> findbugs-exclude.xml
>
> findbugs-include.xml
>   
> 
>
> Any help in this regard will be highly appreciated.
>
> Thanks,
> Jhoom
>




Re: Findbugs report with excluded packages

2012-04-13 Thread jhoomsharabi

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 exculded class and packages.


-Original Message-
From: Ullrich Hafner 
To: jenkinsci-users 
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 
n your pom it just renders the results of the maven plug-in. I.e., this 
ust 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 
hell?

 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
> An: 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 
indbugs
> Jenkins plugin, my pom with finbugs configuration looks like this
>
> 
>org.codehaus.mojo
>findbugs-maven-plugin
>2.3.1
>
>true
>
> true
>true
>
> findbugs-exclude.xml
>
> findbugs-include.xml
>   
> 
>
> Any help in this regard will be highly appreciated.
>
> Thanks,
> Jhoom
>