CPD is not its own plugin; it is part of the PMD plugin. Speciyfing
the property mentioned above, is the only way to currently get it to
run.
On 7/5/05, Sreenivas Mangasandra <[EMAIL PROTECTED]> wrote:
> Hi Jeff,
>
>
>
> It works with setting a property in the project.properties file. But
>
>
>
> I wanted to include it in the project.xml file as
>
>
>
> maven-pmd-plugin
>
>
>
> maven-simian-plugin
>
>
>
> Something like above. Ex: maven-cpd-plugin
>
>
>
> It tried maven-cpd-plugin, maven-pmd.cpd-plugin etc, but it does
>
>
>
> not work.
>
>
>
> Sreenivas.
>
>
>
> -Ursprüngliche Nachricht-
> Von: Jeff Jensen [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 4. Juli 2005 21:24
> An: 'Maven Users List'
> Betreff: RE: "Project Plugin regarding CPD."
>
>
>
>
>
> The directions here:
>
> http://maven.apache.org/reference/plugins/pmd/properties.html
>
>
>
> Say to do this:
>
> maven.pmd.cpd.enable=true
>
>
>
> Is that set?
>
>
>
>
>
>
>
> -Original Message-
>
> From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
>
> Sent: Monday, July 04, 2005 12:31 PM
>
> To: 'Maven Users List'
>
> Subject: "Project Plugin regarding CPD."
>
>
>
> Hello,
>
>
>
>
>
>
>
> I am using Maven to generate several different kinds of project reports.
>
>
>
> I could generate a few of them, but the CPD (Detection of copy-paste code)
>
> report does not
>
>
>
> Get generated. Any idea?
>
>
>
>
>
>
>
> Maven version : 1.0.2
>
>
>
> Java : 1.4.2
>
>
>
>
>
>
>
> Part of the project.xml file:
>
>
>
>
>
>
>
>
>
>
>
>maven-checkstyle-plugin
>
>
>
>maven-javadoc-plugin
>
>
>
>maven-jdepend-plugin
>
>
>
>maven-junit-report-plugin
>
>
>
>maven-jxr-plugin
>
>
>
>maven-license-plugin
>
>
>
> maven-linkcheck-plugin
>
>
>
>maven-pmd-plugin
>
>
>
>maven-simian-plugin
>
>
>
>maven-tasklist-plugin
>
>
>
>
>
>
>
>
>
>
>
> What is the tag for the CPD plugin, I checked out with
>
> maven-CPD-plugin, but it failed.
>
>
>
>
>
>
>
> On maven site : http://maven.apache.org/cpd-report.html
>
>
>
>
>
>
>
> With Best regards / Mit freundlichen Grüßen
>
>
>
> Sreenivas Mangasandra,
>
>
>
> Intland Software GmbH, Wankel Str. 3,
>
>
>
> D-70563 Stuttgart, Germany.
>
>
>
> Tel.: +49 711 722 1834
>
>
>
>
>
>
>
>
>
>
>
> -
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
--
Jamie Bisotti
Software Engineer
Lexmark International, Inc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]