Hi Mike,

(answering an email from the past that I hadn't processed and was still
sitting in my inbox)

> -----Original Message-----
> From: Mike Perham [mailto:[EMAIL PROTECTED]
> Sent: mercredi 12 avril 2006 00:35
> To: Maven Developers List
> Subject: clover and cpd plugin clashes
> 
> So this is an interesting bug.
> 
> I have clover and pmd:cpd-check configured.  Clover injects a block of
> source into every source file for instrumentation purposes.  cpd sees
> this block of code as copy/pasted code because it occurs in every source
> file and fails my build.
> 
> Who's in the wrong here?  I'm inclined to say it's a Clover plugin bug
> because it should not be exposing its modified code as source to be
> examined by other plugins.

Maybe the faulty is CPD because it should accept to ignore some specified
blocks of code? :-)

What we should do is disable the CPD check in the custom lifecycle spawned
by the clover plugin. Why don't you simply remote the cpd-check from your
clover <execution>?
 
-Vincent


        

        
                
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to