The following comment has been added to this issue:

     Author: John Taylor
    Created: Wed, 21 Jul 2004 9:41 AM
       Body:
Yes, as far as I can tell the issue is that subprojects inherit from one level above 
OK for most properties.  However, inheritance/overriding of "built-in" properties such 
as maven.repo.* doesn't work at all.  So, when you change sub to inherit directly from 
basebase it will pick up the astrogrid.basebase property OK, but if you then moved the 
maven.repo.central property to basebase, then it *wouldn't* be overridden.

Thanks for your replies - I'm glad you can reproduce the problem.


 
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPMULTIPROJECT-39?page=comments#action_22002

---------------------------------------------------------------------
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, 21 Jul 2004 9:41 AM
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to