The following comment has been added to this issue:
Author: Michael Mattox
Created: Wed, 16 Jun 2004 9:03 AM
Body:
All my projects extend this "main project". Therefore if I remove the reports from my
main project, I have to add the reports to all 17 of my projects. Is there an easier
way? Should I introduce another project in the hiearchy? Right now I have:
aggregate main - project
Should I change it to:
aggregate main - source project main - project
and declare the dashboard reports in main, and all my source reports in source project
main? I'm not sure if inheritance works with 3 levels, the user guide is a little
uncertain there.
-Michael
PS: Creating a src/java directory in my aggregate main project fixed the problem..
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPMULTIPROJECT-37?page=comments#action_20709
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-37
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-37
Summary: Reports are run for my main maven project when running multiproject:site
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.3
Assignee: dion gillard
Reporter: Michael Mattox
Created: Wed, 16 Jun 2004 8:35 AM
Updated: Wed, 16 Jun 2004 9:03 AM
Environment: multiproject plugin from CVS, maven 1.0rc3, win2k, JDK1.4.2
Description:
Reports are run for my main maven project when running multiproject:site, even though
I have the main maven project in the multiproject.excludes. The result is the PMD
plugin fails because there is no src/java directory:
from project.properties:
maven.multiproject.basedir=${basedir}/../
maven.multiproject.includes=**/project.xml
maven.multiproject.excludes=../project.xml,./project.xml,maven/project.xml
from maven.log:
[echo] Generating the PMD Report...
pmd:report:
[echo] Running the PMD task with C:\Documents and
Settings\mmattox\.maven\plugins\maven-pmd-plugin-1.4\plugin-resources/rulesets/basic.xml,C:\Documents
and
Settings\mmattox\.maven\plugins\maven-pmd-plugin-1.4\plugin-resources/rulesets/unusedcode.xml,C:\Documents
and
Settings\mmattox\.maven\plugins\maven-pmd-plugin-1.4\plugin-resources/rulesets/imports.xml
...
BUILD FAILED
File...... C:\Documents and
Settings\mmattox\.maven\plugins\maven-pmd-plugin-1.4\plugin.jelly
Element... pmd
Line...... 115
Column.... 51
C:\maven\sources\maven\src\java not found.
Total time: 13 minutes 30 seconds
Finished at: Wed Jun 16 14:28:21 CEST 2004
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]