You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/02 21:50:56 UTC
[jira] Commented: (MPDASHBOARD-5) subprojects inherit parent project properties
The following comment has been added to this issue:
Author: Vincent Massol
Created: Fri, 2 Apr 2004 2:50 PM
Body:
I believe the main issue is because you're giving your top level project 2 different roles:
1- one of share area for common settings
2- one of real top level project that produces aggregated results
Sharing the definition of the reports is for 1, whereas defining a dashboard report is for 2.
There are 2 easy options I can think of:
A/ do as is done in the dashboard plugin tests, i.e. have child projects define the list of reports they wish to have (and thus do not inherit them from top level)
B/ create another project whose goal is to perform 2 (let's call it master):
toplevel
|_ project1
|_ project2
|_ master
Would that be ok? The other possible options that I can see (like creating some speical properties) does not look right. I believe what we have here is an architectural issue hence my recommendation for A or B which matches goals 1 and 2.
-Vincent
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDASHBOARD-5&page=comments#action_18101
---------------------------------------------------------------------
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 2:50 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org