Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.0.7
-
None
-
Patch
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
MNG-2209 Calculation of module URLs does not match deployment
- Closed
- is related to
-
MNG-2006 Module SCM URL is resolved as [...]/parent/module regardless of relativePath
- Closed
-
MNG-2290 Generated URLs in POMs of child modules
- Closed
- relates to
-
MNG-5000 [regression] child distributionManagment.site.url not correct in a flat directory layout when child's artifactId doesn't match its module name
- Closed
-
MNG-3848 [regression] Inheritance of project/site/scm URLs does not take child's relative location to parent into account
- Closed
-
MNG-4994 [regression] Inheritance of project/site/scm URLs does not take child's relative location to parent into account
- Closed