The following comment has been added to this issue:
Author: Bryan Davis
Created: Sun, 4 Apr 2004 3:59 PM
Body:
The issue is that you cannot easily add another goal to the multiproject:site's
reactor (e.g. without copying the functionality out of the multiproject plugin).
Since the dashboard plugin requires a multiproject build, it is pretty rational to
assume that most people will be using multiproject:site and would like to add on
dashboard aggregation as a convenience (e.g. so you don't have to click down through
the test results for a dozen sub projects).
Since multiproject:site does custom work after its reactor "site", how are you
supposed to integrate the dashboard:single at the appropriate place?
And the original post is correct, if you run multiproject:site with the dashboard
report in the master project.xml, then it will run the dashboard:single on each
subprocess and then execute the dashboard report again at the sub-project level, with
each sub-project's reactors essentially picking up themselves. The net net is that it
runs the reports 3-4 or more times on each sub-project.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDASHBOARD-5&page=comments#action_18160
---------------------------------------------------------------------
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: Sun, 4 Apr 2004 3:59 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]