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

Urls rewritten when they contain the project urls' hostname

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Urls in the site.xml file are being rewritten if they contain the hostname of the project url. For example:

      pom.xml:
      <url>http://208.75.85.243</url>

      ...
      <site>
      <id>test.site</id>
      <url>file:///srv/www/test/site</url>
      </site>
      ...

      site.xml:
      <item name="About" href="http://208.75.85.243/index.html" />

      Results in the following link for the About page which is incorrect and includes the deployment location instead of the url:
      http://208.75.85.243/test/site/index.html

      Attachments

        1. MSITE-269.zip
          3 kB
          Cameron Jones
        2. pom.xml
          1 kB
          Cameron Jones
        3. site.xml
          0.7 kB
          Cameron Jones

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              cameronjones Cameron Jones
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: