The following comment has been added to this issue:

     Author: John Taylor
    Created: Wed, 21 Jul 2004 7:29 AM
       Body:
OK, I've simplified the test case.  There is a master project in the root folder, 
which uses the reactor on a sub project called "Sub".  This Sub project's POM inherits 
from Base, which in turn inherits from BaseBase.  
In Base I override the property maven.repo.central=base, and in BaseBase I define the 
property astrogrid.basebase=Base Base Property

If I run the Sub project in isolation by executing 
maven showprops
in the sub directory, then the above properties are displayed correctly.

If I run the Sub project via the reactor by executing
maven usereactor
in the root directory
then the property maven.repo.central retains its default value of login.ibiblio.org, 
and the astrogrid.basebase property doesn't get picked up at all.

I'm using Maven 1.0, and I've tried this on a Windows machine and a Linux machine.  


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

---------------------------------------------------------------------
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 7:29 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