Re: Running PMD during compile phase

2008-09-18 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Blake Martin wrote: > By default, PMD runs during the *verify* phase. > > PMD analyzes source code only (not bytecode), correct? That is not entirely correct. While the vast majority of the rules only look at the Java source code, some of them, in th

Re: Running PMD during compile phase

2008-09-18 Thread Blake Martin
Yes, but then PMD would be run when we run the eclipse:eclipse goal. Thanks for the confirmation, though. On Thu, Sep 18, 2008 at 9:26 AM, Marat Radchenko < [EMAIL PROTECTED]> wrote: > You may even run it during *validate* phase > > 2008/9/18 Blake Martin <[EMAIL PROTECTED]>: > > By default, PMD

Re: Running PMD during compile phase

2008-09-18 Thread Marat Radchenko
You may even run it during *validate* phase 2008/9/18 Blake Martin <[EMAIL PROTECTED]>: > By default, PMD runs during the *verify* phase. > > PMD analyzes source code only (not bytecode), correct? Is there any harm in > running it during *compile*? Checkstyle runs during compile. We'd like our > c

Running PMD during compile phase

2008-09-18 Thread Blake Martin
By default, PMD runs during the *verify* phase. PMD analyzes source code only (not bytecode), correct? Is there any harm in running it during *compile*? Checkstyle runs during compile. We'd like our code to fail earlier in the lifecycle if there are any problems.