You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Trevor Harmon (JIRA)" <ji...@codehaus.org> on 2010/08/15 09:36:32 UTC

[jira] Created: (MSITE-496) Page titles of custom site descriptor items are blank

Page titles of custom site descriptor items are blank
-----------------------------------------------------

                 Key: MSITE-496
                 URL: http://jira.codehaus.org/browse/MSITE-496
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
          Components: site descriptor
    Affects Versions: 2.1.1
         Environment: Mac OS X 10.6.4, Java 1.6.0_20, Maven 2.2.1
            Reporter: Trevor Harmon
            Priority: Minor
         Attachments: example.zip

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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-496) Page titles of custom site descriptor items are blank

Posted by "Trevor Harmon (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232014#action_232014 ] 

Trevor Harmon commented on MSITE-496:
-------------------------------------

Thanks for the explanation.

Could a note about this issue be added to the FAQ or somewhere else in the docs?


> Page titles of custom site descriptor items are blank
> -----------------------------------------------------
>
>                 Key: MSITE-496
>                 URL: http://jira.codehaus.org/browse/MSITE-496
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site descriptor
>    Affects Versions: 2.1.1
>         Environment: Mac OS X 10.6.4, Java 1.6.0_20, Maven 2.2.1
>            Reporter: Trevor Harmon
>            Priority: Minor
>         Attachments: example.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MSITE-496) Page titles of custom site descriptor items are blank

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MSITE-496.
---------------------------------

    Resolution: Not A Bug

That is because you have not set a title in the foo, bar and baz documents.
See http://maven.apache.org/doxia/references/apt-format.html for details of how to add a title to an APT document.

> Page titles of custom site descriptor items are blank
> -----------------------------------------------------
>
>                 Key: MSITE-496
>                 URL: http://jira.codehaus.org/browse/MSITE-496
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site descriptor
>    Affects Versions: 2.1.1
>         Environment: Mac OS X 10.6.4, Java 1.6.0_20, Maven 2.2.1
>            Reporter: Trevor Harmon
>            Priority: Minor
>         Attachments: example.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira