You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrew Hughes (JIRA)" <ji...@codehaus.org> on 2010/05/11 02:22:13 UTC

[jira] Updated: (MSITE-477) href's drop the leading character in the href

     [ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Hughes updated MSITE-477:
--------------------------------

    Attachment: MSITE-477.rar

To reproduce, run 'mvn clean install site site:stage-deploy -DstagingSiteURL=file://c:/Temp/MSITE-477'. Then look at the links to the modules on file://c:/Temp/MSITE-477/index.html under the 'Modules' section. Requires maven 2.2.1 and jdk 1.6.0_18+ (I am using 1.6.0_18).

> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
>                 Key: MSITE-477
>                 URL: http://jira.codehaus.org/browse/MSITE-477
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0.1, 2.1
>            Reporter: Andrew Hughes
>         Attachments: MSITE-477.rar
>
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> 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 :)

-- 
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