Is anyone using this and able to shed some light on something for me?
 
I'm having trouble using this on a heavily modularized build.
 
For example, we have this kind of structure:
 
parent pom.xml where pmd is configured
|_>child pom.xml subproject
|_>child pom.xml subproject
|_>child pom.xml subproject
|_>sub parent pom.xml
|  |_>child pom.xml subproject
|_>child pom.xml subproject
 
I wind up with at target directory in the parent project (top most
directory) with a pmd.html file that's 0 k.  How can I configure pmd to
look at the results from ALL the various projects and compile the list
into one cohesive html file?
 
I tried something like this:
 
      <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-pmd-plugin</artifactId>
 
                <configuration>
                   <linkXRef>false</linkXRef>
                   <targetJdk>1.5</targetJdk>
 
<targetDirectory>E:\work\up-svcs\lty\proj\LTY-P000039\crypto\target</tar
getDirectory>
 
<targetDirectory>E:\work\up-svcs\lty\proj\LTY-P000039\cryptoServer\targe
t</targetDirectory>
 
<targetDirectory>E:\work\up-svcs\lty\proj\LTY-P000039\capi\target</targe
tDirectory>
                   <outputDirectory>target</outputDirectory>
                </configuration>
            </plugin>
 
But each one overwrites the last one...

Reply via email to