Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3134

DefaultModelInheritence::assembleDistributionInheritence should be childPathAdjustment aware

    XMLWordPrintableJSON

Details

    • 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

        1. patch.txt
          2 kB
          skaze

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              skaze skaze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: