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/17 14:35:18 UTC
[jira] Created: (MPPMD-11) PMD report plugin fails if there is no src/java directory
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-pmd-plugin
Assignee: Jason van Zyl
Reporter: Michael Mattox
Created: Thu, 17 Jun 2004 8:33 AM
Updated: Thu, 17 Jun 2004 8:33 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
[jira] Commented: (MPPMD-11) PMD report plugin fails if there is no src/java directory
Posted by ji...@codehaus.org.
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
[jira] Closed: (MPPMD-11) PMD report plugin fails if there is no src/java directory
Posted by ji...@codehaus.org.
Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Mon, 28 Jun 2004 5:36 AM
if you can post some more information or a sample project, I'll reopen. However, on running pmd on a project with the source directory set to an invalid location, the pmd plugin succeeds.
---------------------------------------------------------------------
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 5:36 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
[jira] Commented: (MPPMD-11) PMD report plugin fails if there is no src/java directory
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Brett Porter
Created: Mon, 28 Jun 2004 8:32 AM
Body:
no, but I tried it on a project that had no src/java and one that did, but had a different pom.build.sourceDirectory that didn't exist.
If you are experiencing aproblem in multiproject, it is probably a flow on of MPMULTIPROJECT-32.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPPMD-11?page=comments#action_21110
---------------------------------------------------------------------
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:32 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