The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Fri, 2 Apr 2004 4:47 PM
       Body:
Ryan, I think there are some misunderstandings.

The master project is supposed to run dashboard:report (either directly or through the 
site goal).

However child project *must not* run dashboard:report. They have to run 
dashboard:report-single.

Now, if you're running your own multiproject, you'll need to add the 
dashboard:report-single goal to your list of goals to be called on child projects. 
You'll also need to set the property maven.dashboard.runreactor to false (defaults to 
true) so that the dashboard reactor is *not* run (otherwise the 
dashboarb:report-single will be called twice: once by your multiproject and another 
time by the dashboard:report goal).

Hope it helps... Feel free to patch the doc if you think it's not clear.

Thanks
-Vincent

---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDASHBOARD-5&page=comments#action_18108

---------------------------------------------------------------------
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 4:47 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]

Reply via email to