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 23:07:09 UTC

[jira] Updated: (MAVEN-1479) Multiproject inheritance (again)

The following issue has been updated:

    Updater: Edwin Chiu (mailto:edwin@thetomatoe.com)
       Date: Wed, 27 Oct 2004 5:06 PM
    Comment:
Updated patch, handles more than one ancestor
    Changes:
             Attachment changed to MavenUtils.java.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MAVEN-1479?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1479

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1479
    Summary: Multiproject inheritance (again)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0.1

   Assignee: Brett Porter
   Reporter: John Taylor

    Created: Tue, 13 Jul 2004 9:38 AM
    Updated: Wed, 27 Oct 2004 5:06 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