You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/28 14:01:26 UTC

[jira] Commented: (MPPMD-11) PMD report plugin fails if there is no src/java directory

The following comment has been added to this issue:

     Author: Michael Mattox
    Created: Mon, 28 Jun 2004 8:00 AM
       Body:
Did you try it with multiproject?  The problem is the PMD report is run on my "master" project.xml (despite the fact that it's excluded in the project.properties) and it fails because my master project.xml doesn't have a src/java dir.

Our solution was to create an empty src/java directory in our master project.xml directory and it works.


---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPPMD-11?page=comments#action_21109

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPPMD-11

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPPMD-11
    Summary: PMD report plugin fails if there is no src/java directory
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: CANNOT REPRODUCE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-pmd-plugin

   Assignee: Brett Porter
   Reporter: Michael Mattox

    Created: Thu, 17 Jun 2004 8:33 AM
    Updated: Mon, 28 Jun 2004 8:00 AM
Environment: Maven 1.0rc3, win2k, jdk1.4.2

Description:
The PMD report plugin fails if there is no src/java directory.  This is a problem when using multiproject, because not all projects contain java src code.  Specifically for me, my "master" project is just a base project which all my projects extend.  Having PMD in the reports causes the plugin to run the report on my base project which contains no source.

I think if there is no src/java it should not break a multiproject build.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org