Maven 2 & 3

DefaultModelInheritence::assembleDistributionInheritence should be childPathAdjustment aware

Details

  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

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.

Issue Links

Activity

Hide
John Casey added a comment -

Applied. Thanks, John.

Show
John Casey added a comment - Applied. Thanks, John.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: