Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-110

Use reactor to find parent URL where possible patch (patch also includes improved calculate relative path and better read modules from filesystem POM functionality)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-6
    • 2.0-beta-5
    • None
    • None
    • win32, JVM 1.5.0.04, maven-2.1-SNAPSHOT, site-2.0-SNAPSHOT

    Description

      project.getParent().getUrl() returns non-interpolated values - using the reactor environment to locate the parent gives an interpolated url.

      Additionally the patch includes a improved 'source the module details from the filesystem' functionality which is used in non-reactor environments, if a module is found not to define a URL (as it commonly doesnt as its inherited from parent) then the repository is queried instead.

      Patch also includes a more powerful 'calculate realtive path' function that can handle divergent pathes share a common ancestor (e.g ../../../foo/bar/index.html) which is used to calculate parent and module hrefs.

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              skaze skaze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: