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

Page titles of custom site descriptor items are blank

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.1.1
    • None
    • site descriptor
    • None
    • Mac OS X 10.6.4, Java 1.6.0_20, Maven 2.2.1

    Description

      The page titles generated for custom site descriptor items are wrong. For example, if the project name is "Hello World", and you generate the HTML site using "mvn site", clicking on a standard project info item such as Issue Tracking displays the title as "Hello World - Issue Tracking" in your web browser. If, however, you add non-standard items using a site descriptor, the title becomes: "Hello World - ". The second part of the title is blank.

      I have attached the simplest possible test case to show this problem. Simply unpack the archive and run "mvn site", then open target/site/index.html in a web browser. Click on the various items in the navigation menu on the left and note the web browser title.

      This is using Maven 2.2.1 and maven-site-plugin 2.1.1.

      Attachments

        1. example.zip
          3 kB
          Trevor Harmon

        Activity

          People

            Unassigned Unassigned
            vocaro Trevor Harmon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: