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

<menu ref="modules"/> href's drop the leading character in the href when staging a site

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1, 2.1
    • 2.1.1, 3.0-beta-1
    • multi module
    • None

    Description

      parent pom.xml:

      <module>module-a</modules>
      

      parent site.xml:

      <menu ref="modules"/>
      

      The generated html links to "module-a" look like this....

      <a href="odule-a/index.html" title="module-a">module-a</a>
      

      Note, the href is missing the leading character "m", it should be..

      <a href="module-a/index.html" title="module-a">module-a</a>
      

      I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.

      Thanks for reading

      Attachments

        1. MSITE-477.rar
          4 kB
          Andrew Hughes
        2. MSITE-477-site-deploy-output.rar
          158 kB
          Andrew Hughes

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              ahhughes Andrew Hughes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: