The following comment has been added to this issue:
Author: Ryan Sonnek
Created: Fri, 2 Apr 2004 3:45 PM
Body:
to me, the inheritance of the <reports> section isn't a problem. if my child project
inherits the dashboard report and attempts to run it, that's fine. The report still
needs to be configured by that child project to run correctly. Since property
inheritance isn't due in maven until post 1.0, how is the child project able to pick
up the properties set by the parent project and essentially "rerun" the dashboard
report across all other children projects?
if it helps at all, i use an "eclipse" project layout:
/myproject
|_ subproject1
|_ subproject2
|_ mainproject
in this structure, i must use properties as follows to get dashboard to run:
#multiproject settings.
maven.multiproject.basedir=${basedir}/../
maven.multiproject.includes=*/project.xml
maven.multiproject.excludes=mainproject/project.xml
#dashboard settings
maven.dashboard.basedir=${maven.multiproject.basedir}
maven.dashboard.includes=${maven.multiproject.includes}
maven.dashboard.excludes=${maven.multiproject.excludes}
so, the problem lays in how is the child project inheriting these parent project
settings?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDASHBOARD-5&page=comments#action_18104
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDASHBOARD-5
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPDASHBOARD-5
Summary: subprojects inherit parent project properties
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-dashboard-plugin
Versions:
1.2
Assignee: Vincent Massol
Reporter: Ryan Sonnek
Created: Fri, 26 Mar 2004 8:51 PM
Updated: Fri, 2 Apr 2004 3:45 PM
Environment: maven-1.0-rc2
Description:
running the dashboard report from a mulitproject setup (ie: maven multiproject:site)
the dashboard plugin in child projects inherit the properties of the parent project.
this causes the dashboard report to be rerun from all child projects instead of just
from the parent project.
my setup is as follows:
parent project has the maven.dashboard properties set. project.xml defines the
dashboard report. executing maven multiproject:site causes all subprojects to inherit
parent properties, so each child project has a full dashboard report. this increases
the build time exponentially. the child projects should not inherit the properties,
and when the dashboard report is run in the child project, it should return an empty
report.
---------------------------------------------------------------------
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]