The following comment has been added to this issue:

     Author: Ryan Sonnek
    Created: Sun, 4 Apr 2004 4:05 PM
       Body:
yes, this could be just a documentation issue, but i still don't understand it.  I 
have the dashboard report, and properties, defined in the parent project.  The 
dashboard <report> is inherited by all of the children projects, but the properties 
are not.  Having the dashboard report generated in the child projects should be a 
non-issue because the properties are not set in the child project and should just 
generate an empty report.  A simple use case of this is to run "maven site" from the 
child project, and it works correctly.  But, when i run "maven multiproject:site" from 
the parent project, the properties from the parent are inherited by the child and thus 
the dashboard is rerun.

the REAL issue that needs explanation is how the dashboard plugin is inheriting these 
properties from the parent to the child project.  other plugins/reports to not have 
this inheritence (ex: checkstyle plugin properties must be defined in all child 
projects since parent properties are not inherited).
---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDASHBOARD-5&page=comments#action_18161

---------------------------------------------------------------------
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 4:05 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