As far as Findbugs goes, also make sure you are using the same thresholds 
(analysis effort) and the same bugs are included/excluded in both places.


Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions

"Do or do not, there is no try." - Yoda

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Baptiste MATHUS
Sent: Thursday, February 24, 2011 1:04 AM
To: Maven Users List
Subject: Re: PMD'S or findbug's report

Hi,
Most likely, you might not be using the same version of pmd/findbugs.
As long as you take care to define the same rule you'll have the same
results (at least I can say that for pmd as we're using it almost every
day).

Cheers
Le 24 févr. 2011 01:59, "jy hu" <[email protected]> a écrit :
> Hi Everyone,
>
> I am wondering why there is a maked difference in the checking result
> (Pmd,or Findbugs) between mvn site and plug-in in Eclipse .
>
>
> Here are two checks for the same maven project as bellow ,
> 1, I installed the Pmd and Findbugs's plug-in in Eclipse. then to check
the
> project by using PMD or Findbugs.I found many codes were marked in java
> files.
>
> 2, I typed mvn site via Cmd or run MVN in Eclipse after I configed Pmd and
> FindBugs's report in POM.xml. then I open the index.html in site folder,
but
> only several errors were marked in the Pmd or FindBug's report.
> particularly, PMD's report included an info in a java file.
>
> I don't why, Does anyone tell me what I am missing in MVN? why are they
> difference? Many thanks!
>
> --
> **
> *Warm wishes,*
> *Jaina(hu jun ying)*

***************************
This message may contain confidential or proprietary information intended only
for the use of the addressee(s) named above or may contain information that is
legally privileged. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is
strictly prohibited. If you have received this message by mistake, please
immediately notify us by replying to the message and delete the original
message and any copies immediately thereafter.

Thank you.
****************************

Reply via email to