The directory I'm running it in is the root directory of the entire
project.  That directory has a "subprojects" directory.  Each
subdirectory of "subprojects" has a "src/java" directory, where the
source code resides.  As I said, the "multiproject:install" rule has no
trouble finding the Java source files. 

> -----Original Message-----
> From: Dion Gillard [mailto:[EMAIL PROTECTED] 
> 
> Does the directory you are running 'maven pmd xdoc' from 
> contain java source files?
> 
> On 4/22/06, Karr, David <[EMAIL PROTECTED]> wrote:
> >
> > I'm using Maven 1.0.2, and I'm a maven newbie (other people 
> set up the 
> > maven infrastructure).  I can build the entire project with "maven 
> > multiproject:install".  I wanted to experiment with adding 
> pmd reports.
> > I simply tried doing "maven pmd xdoc", after setting the 
> pmd version 
> > override in the build.properties file.  The following is an excerpt 
> > from the output for the pmd report.
> >
> > -------------------
> > pmd:
> > pmd:report:
> >     [echo] Running the PMD task with
> > rulesets/basic.xml,rulesets/unusedcode.xml,rulesets/imports.xml ...
> >     [echo] No java source files to process.
> >     [echo] Converting the PMD report to xdoc ...
> > -------------------
> >
> > Note again that "maven multiproject:install" is able to build the 
> > entire project, which contains a couple of hundred Java 
> source files.
> >
> > I didn't install a custom ruleset file, I wanted to try it 
> using the 
> > default first.
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> http://www.multitask.com.au/people/dion/
> Chuck Norris sleeps with a night light. Not because Chuck 
> Norris is afraid of the dark, but because the dark is afraid 
> of Chuck Norris
> 

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

Reply via email to