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