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/10/27 19:26:09 UTC
[jira] Updated: (MPMULTIPROJECT-39) Multiproject inheritance (again)
The following issue has been updated:
Updater: Edwin Chiu (mailto:edwin@thetomatoe.com)
Date: Wed, 27 Oct 2004 1:25 PM
Comment:
Attached is a messy patch to fix the inheritence problem. The testcase works under this patch. Maybe someone can volunteer to clean up the patch. It's probably unnecessary to create a new method as I have done.
Changes:
Attachment changed to MavenUtils.java.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MPMULTIPROJECT-39?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-39
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-39
Summary: Multiproject inheritance (again)
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.3
Assignee: dion gillard
Reporter: John Taylor
Created: Tue, 13 Jul 2004 9:38 AM
Updated: Wed, 27 Oct 2004 1:25 PM
Environment: WinXP
Description:
This may be a duplicate of
http://jira.codehaus.org/browse/MPMULTIPROJECT-32
in which case I apologise.
I'm finding that sub projects only inherit *properties* from one level deep if run via multiproject. Furthermore, certain "built-in" properties don't get inherited at all.
In the attached code, sub inherits from base which inherits from basebase. When run as a multiproject from the root project (goal: doit->multiproject:clean), sub sees the props defined in base, but not basebase. Also, the property maven.repo.central, overridden in base, retains its default value of login.ibiblio.org
However, running sub directly (from sub's folder with goal "clean") gives the correct behaviour.
---------------------------------------------------------------------
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