You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Karr, David" <da...@wamu.net> on 2006/04/21 23:48:05 UTC

Running "maven pmd xdoc" says no java files to process

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Running "maven pmd xdoc" says no java files to process

Posted by Dion Gillard <di...@gmail.com>.
Does the directory you are running 'maven pmd xdoc' from contain java source
files?

On 4/22/06, Karr, David <da...@wamu.net> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
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