<reporting> <plugins> <plugin> <artifactId>maven-pmd-plugin</artifactId> <reportSets> <reportSet> <reports> <report>pmd</report> </reports> </reportSet> </reportSets> </plugin>
> -----Original Message----- > From: Hilco Wijbenga [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 01, 2006 4:00 PM > To: Maven Users List > Subject: [m2] How to avoid running CPD when using maven-pmd-plugin? > > Hi all, > > I'm using the maven-pmd-plugin to check my code. I am now finding, > however, that CPD (that's 'CPD' not 'PMD') is not as useful as I had > hoped so I would like to exclude it. > > I tried adding > > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-pmd-plugin</artifactId> > <executions> > <execution> > <phase>verify</phase> (I also tried <phase>test</phase>) > <goals> > <goal>pmd</goal> > </goals> > </execution> > </executions> > <configuration>...</configuration> > </plugin> > </plugins> > </build> > > I had hoped this would mean to *only* run PMD but CPD still runs. > > I used help:describe to see if there were any properties I could set > to not run CPD but couldn't find anything. The source of > maven-pmd-plugin also didn't reveal anything. > > Someone please enlighten me, how do I do this? > > Cheers, > Hilco > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]