DefaultModelInheritence::assembleDistributionInheritence should be 
childPathAdjustment aware
--------------------------------------------------------------------------------------------

                 Key: MNG-3134
                 URL: http://jira.codehaus.org/browse/MNG-3134
             Project: Maven 2
          Issue Type: Bug
          Components: Inheritance and Interpolation
    Affects Versions: 2.0.7
            Reporter: John Allen
            Priority: Critical
         Attachments: patch.txt

In the same way that the URL, and SCM inheritance assembly is 
'childPathAdjustment' aware, so should the site distribution URL. 

The childPathAdjustment value takes into account a child's relative location to 
its parent, such that 'children' (modules) that are declared via 
<module>../../foo/bar</module> end up with paths that are accurate for their 
location within the external namespaces (ie the SCM namespace or the URL 
namespace). However this is not being done for the site distribution URL which 
is obviously a bug as the project URL, which remember is childPathAdjustment 
aware, has a direct coupling to the distroManagement.site.URL.

Patch against maven-project 2.0.7 attached.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to