Hi,

Let me add the configuration of Pmd/Findbugs in maven:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
______________________________
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.1</version>


Also I install the pmd/findbugs pulg-in via the Help> Install new software
in Eclipse.

PMD: http://pmd.sf.net/eclipse, select PMD for Eclipse3, version
3.2.6V200903300643
FindBugs: http://findbugs.cs.umd.edu/eclipse, select Findbus version
1.3.9.20090821
Am I correct based on the above version No. which look like different? if
not, could you pls tell me how to rectify? thanks!

Best regards,
Jaina

On Fri, Feb 25, 2011 at 5:14 AM, Collins, Russell <[email protected]>wrote:

> 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.
> ****************************
>



-- 
**
*Warm wishes,*
*Jaina(hu jun ying)*

Reply via email to